fixes #13070
This commit is contained in:
parent
033da35de1
commit
fcd2f305ad
2 changed files with 42 additions and 2 deletions
|
|
@ -452,8 +452,8 @@ proc raiseExceptionAux(e: sink(ref Exception)) {.nodestroy.} =
|
|||
# XXX This check should likely also be done in the setjmp case below.
|
||||
if e != currException:
|
||||
pushCurrentException(e)
|
||||
when gotoBasedExceptions:
|
||||
inc nimInErrorMode
|
||||
when gotoBasedExceptions:
|
||||
inc nimInErrorMode
|
||||
else:
|
||||
if excHandler != nil:
|
||||
pushCurrentException(e)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue