use dynamic message destination
This commit is contained in:
parent
fc5700619b
commit
d4c32102d8
1 changed files with 1 additions and 1 deletions
|
|
@ -718,7 +718,7 @@ proc handleError(msg: TMsgKind, eh: TErrorHandling, s: string) =
|
||||||
if stackTraceAvailable():
|
if stackTraceAvailable():
|
||||||
writeStackTrace()
|
writeStackTrace()
|
||||||
else:
|
else:
|
||||||
stderr.writeln("No stack traceback available\nTo create a stacktrace, rerun compilation with ./koch temp c <file>")
|
msgWriteln("No stack traceback available\nTo create a stacktrace, rerun compilation with ./koch temp c <file>")
|
||||||
quit 1
|
quit 1
|
||||||
|
|
||||||
if msg >= fatalMin and msg <= fatalMax:
|
if msg >= fatalMin and msg <= fatalMax:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue