mirror of
https://github.com/nim-lang/Nim.git
synced 2026-01-03 03:32:32 +00:00
fixes system.onUnhandledException feature
This commit is contained in:
@@ -238,7 +238,7 @@ var onUnhandledException*: (proc (errorMsg: string) {.
|
||||
|
||||
template unhandled(buf, body) =
|
||||
if onUnhandledException != nil:
|
||||
onUnhandledException(buf)
|
||||
onUnhandledException($buf)
|
||||
else:
|
||||
body
|
||||
|
||||
|
||||
Reference in New Issue
Block a user