fixes system.onUnhandledException feature
This commit is contained in:
parent
57ed077c1e
commit
03e0aa37e3
1 changed files with 1 additions and 1 deletions
|
|
@ -238,7 +238,7 @@ var onUnhandledException*: (proc (errorMsg: string) {.
|
|||
|
||||
template unhandled(buf, body) =
|
||||
if onUnhandledException != nil:
|
||||
onUnhandledException(buf)
|
||||
onUnhandledException($buf)
|
||||
else:
|
||||
body
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue