caas barely works now
This commit is contained in:
parent
b1c44c9ae1
commit
de338526ec
4 changed files with 18 additions and 8 deletions
|
|
@ -206,7 +206,8 @@ proc raiseExceptionAux(e: ref E_Base) =
|
|||
else:
|
||||
when hasSomeStackTrace:
|
||||
var buf = newStringOfCap(2000)
|
||||
rawWriteStackTrace(buf)
|
||||
if isNil(e.trace): rawWriteStackTrace(buf)
|
||||
else: add(buf, e.trace)
|
||||
add(buf, "Error: unhandled exception: ")
|
||||
if not isNil(e.msg): add(buf, e.msg)
|
||||
add(buf, " [")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue