diff options
author | Andreas Rumpf <rumpf_a@web.de> | 2017-07-12 15:39:12 +0200 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2017-07-12 15:39:12 +0200 |
commit | 03e0aa37e3d41c77475a2484e9a3d084e26bd8bf (patch) | |
tree | 26ae523eaee09a5d9ce9a9087946c27c3d9e6d14 /lib | |
parent | 57ed077c1eefa0e1818b36525fdc238160b4418c (diff) | |
download | Nim-03e0aa37e3d41c77475a2484e9a3d084e26bd8bf.tar.gz |
fixes system.onUnhandledException feature
Diffstat (limited to 'lib')
-rw-r--r-- | lib/system/excpt.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/system/excpt.nim b/lib/system/excpt.nim index cfb6492b2..b0769b269 100644 --- a/lib/system/excpt.nim +++ b/lib/system/excpt.nim @@ -238,7 +238,7 @@ var onUnhandledException*: (proc (errorMsg: string) {. template unhandled(buf, body) = if onUnhandledException != nil: - onUnhandledException(buf) + onUnhandledException($buf) else: body |