always show not ok error
This commit is contained in:
parent
44fb789543
commit
764096a0b2
|
@ -83,6 +83,9 @@ module.exports.create = function (deps) {
|
||||||
err.type = body.type
|
err.type = body.type
|
||||||
err.description = body;
|
err.description = body;
|
||||||
err.detail = body.detail;
|
err.detail = body.detail;
|
||||||
|
console.error("TODO: modules which depend on this module should expose this error properly but since some of them don't, I expose it here directly:");
|
||||||
|
console.error(err.stack);
|
||||||
|
console.error(body);
|
||||||
throw err;
|
throw err;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue