Add better RST preview error (#196)
* Add better RST preview error * Add exception information back
This commit is contained in:
parent
7e42479228
commit
f8781ba5f3
1 changed files with 2 additions and 1 deletions
|
|
@ -1071,7 +1071,8 @@ routes:
|
|||
except EParseError:
|
||||
let err = PostError(
|
||||
errorFields: @[],
|
||||
message: getCurrentExceptionMsg()
|
||||
message: "Message needs to be valid RST! Error: " &
|
||||
getCurrentExceptionMsg()
|
||||
)
|
||||
resp Http400, $(%err), "application/json"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue