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.} =
|
||||
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 :-)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue