attempt to make the CIs green again
This commit is contained in:
parent
0b96b135f8
commit
9029257a99
1 changed files with 1 additions and 5 deletions
|
|
@ -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 :-)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue