JS target improvements
This commit is contained in:
parent
55aa4c2689
commit
b48e178969
2 changed files with 7 additions and 2 deletions
|
|
@ -97,6 +97,8 @@ proc rawWriteStackTrace(): string =
|
|||
else:
|
||||
result = "No stack traceback available\n"
|
||||
|
||||
proc getStackTrace*(): string = rawWriteStackTrace()
|
||||
|
||||
proc unhandledException(e: ref Exception) {.
|
||||
compilerproc, asmNoStackFrame.} =
|
||||
when NimStackTrace:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue