summary refs log tree commit diff stats
path: root/lib/system/jssys.nim
diff options
context:
space:
mode:
authorAndreas Rumpf <rumpf_a@web.de>2016-04-29 17:56:06 +0200
committerAndreas Rumpf <rumpf_a@web.de>2016-04-29 17:56:06 +0200
commitb48e178969e7de319d0a96fcb4c60aeb0e057df5 (patch)
tree1b2a6a0353857df0acfcf5346a5419b1974a369e /lib/system/jssys.nim
parent55aa4c2689a59111a33ac479ca1a7b4f25df65ff (diff)
downloadNim-b48e178969e7de319d0a96fcb4c60aeb0e057df5.tar.gz
JS target improvements
Diffstat (limited to 'lib/system/jssys.nim')
-rw-r--r--lib/system/jssys.nim2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/system/jssys.nim b/lib/system/jssys.nim
index 1b98883b9..cdaf7dae6 100644
--- a/lib/system/jssys.nim
+++ b/lib/system/jssys.nim
@@ -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: