kopia lustrzana https://github.com/c9/core
It could be the scope breaking it
rodzic
267ae6e3f4
commit
0d8fbef5d6
|
@ -125,6 +125,7 @@ function plugin(options, imports, register) {
|
|||
} catch (e) {
|
||||
console.error("Cannot send error as JSON: ", error);
|
||||
error.message = "Unspecified error";
|
||||
error.scope = null;
|
||||
}
|
||||
res.json({ error: error }, null, statusCode);
|
||||
// plain text
|
||||
|
|
Ładowanie…
Reference in New Issue