attempt to make the CIs green again

This commit is contained in:
Araq
2019-04-02 11:01:38 +02:00
parent 0b96b135f8
commit 9029257a99

View File

@@ -40,11 +40,6 @@ proc showErrorMessage(data: cstring) {.gcsafe.} =
proc quitOrDebug() {.inline.} =
when defined(endb):
endbStep() # call the debugger
elif not defined(nodejs) and not defined(nimscript):
when nimvm:
quit(1)
else:
c_abort()
else:
quit(1)
@@ -371,6 +366,7 @@ proc raiseExceptionAux(e: ref Exception) =
add(buf, $e.name)
add(buf, "]\n")
unhandled(buf):
showErrorMessage(buf)
quitOrDebug()
else:
# ugly, but avoids heap allocations :-)