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;
|
||||
}
|
||||
else if (verbose || verbose === undefined) {
|
||||
msg = "An error has occurred during execution";
|
||||
info.exception = String(err);
|
||||
msg = "An error has occurred during execution: " + info.exception;
|
||||
showTrace = true;
|
||||
}
|
||||
else {
|
||||
|
|
Loading…
Reference in New Issue