diff --git a/lib/pure/unittest.nim b/lib/pure/unittest.nim index 8e7c8efe67..d429414207 100644 --- a/lib/pure/unittest.nim +++ b/lib/pure/unittest.nim @@ -99,6 +99,7 @@ template test*(name: expr, body: stmt): stmt {.immediate, dirty.} = except: checkpoint("Unhandled exception: " & getCurrentExceptionMsg()) + echo getCurrentException().getStackTrace() fail() finally: