From 03e0aa37e3d41c77475a2484e9a3d084e26bd8bf Mon Sep 17 00:00:00 2001 From: Andreas Rumpf Date: Wed, 12 Jul 2017 15:39:12 +0200 Subject: [PATCH] fixes system.onUnhandledException feature --- lib/system/excpt.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/system/excpt.nim b/lib/system/excpt.nim index cfb6492b2a..b0769b2695 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