mirror of
https://github.com/janet-lang/janet
synced 2024-12-25 07:50:27 +00:00
Update core.dst error handler.
This commit is contained in:
parent
d95941597f
commit
f7e7b6333b
@ -1080,7 +1080,7 @@
|
||||
env)
|
||||
|
||||
(defn default-error-handler
|
||||
[source t x f]
|
||||
@[source t x f]
|
||||
(file.write stdout (string t " error in " source ": "))
|
||||
(if (bytes? x)
|
||||
(do (file.write stdout x)
|
||||
|
Loading…
Reference in New Issue
Block a user