diff options
author | Araq <rumpf_a@web.de> | 2019-04-02 11:01:38 +0200 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2019-04-02 11:01:38 +0200 |
commit | 9029257a9972404d7a7fae19689379d02a38fdb3 (patch) | |
tree | 41252339ac8458b30d67e260e5e5e338f921879f /lib/system | |
parent | 0b96b135f8cecb761fb30a4d46e54ad5a00d1f69 (diff) | |
download | Nim-9029257a9972404d7a7fae19689379d02a38fdb3.tar.gz |
attempt to make the CIs green again
Diffstat (limited to 'lib/system')
-rw-r--r-- | lib/system/excpt.nim | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/system/excpt.nim b/lib/system/excpt.nim index 78fc34b91..ec9d36c55 100644 --- a/lib/system/excpt.nim +++ b/lib/system/excpt.nim @@ -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 :-) |