mirror of https://gitee.com/bigwinds/arangodb
added expection message in verbose case
This commit is contained in:
parent
c1fea5b048
commit
b075f77152
|
@ -1991,8 +1991,8 @@ function resultException (req, res, err, headers, verbose) {
|
||||||
showTrace = true;
|
showTrace = true;
|
||||||
}
|
}
|
||||||
else if (verbose || verbose === undefined) {
|
else if (verbose || verbose === undefined) {
|
||||||
msg = "An error has occurred during execution";
|
|
||||||
info.exception = String(err);
|
info.exception = String(err);
|
||||||
|
msg = "An error has occurred during execution: " + info.exception;
|
||||||
showTrace = true;
|
showTrace = true;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|
Loading…
Reference in New Issue