do not display stacktrace twice, fixes #10922 (#10939)

This commit is contained in:
Miran 2019-04-02 09:10:03 +02:00 • committed by Andreas Rumpf
commit b707790519

View file

@ -371,7 +371,6 @@ proc raiseExceptionAux(e: ref Exception) =
add(buf, $e.name) add(buf, $e.name)
add(buf, "]\n") add(buf, "]\n")
unhandled(buf): unhandled(buf):
showErrorMessage(buf)
quitOrDebug() quitOrDebug()
else: else:
# ugly, but avoids heap allocations :-) # ugly, but avoids heap allocations :-)