attempt to make the CIs green again

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

View file

@ -40,11 +40,6 @@ proc showErrorMessage(data: cstring) {.gcsafe.} =
proc quitOrDebug() {.inline.} = proc quitOrDebug() {.inline.} =
when defined(endb): when defined(endb):
endbStep() # call the debugger endbStep() # call the debugger
elif not defined(nodejs) and not defined(nimscript):
when nimvm:
quit(1)
else:
c_abort()
else: else:
quit(1) quit(1)
@ -371,6 +366,7 @@ 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 :-)