Is there a way to print a nice error message/stacktrace out of errors occurring? The error output I’m seeing looks fine when I execute the script with nbb but not if I’m using the example script from https://github.com/babashka/nbb/blob/main/doc/publish/README.md (`index.mjs`).
In addition I could not find a way to print a good looking error message from within clojurescript either. I’m getting sci errors that look alike:
#error {:message "exec: fatal: Failed to resolve 'true' as a valid ref.\n", :data {:type :sci/error, :line 74, :column 9, :message "exec: fatal: Failed to resolve 'true' as a valid ref.\n" ....
Is there a way to format those? I found sci/format-stacktrace but it doesn’t seem to be available within nbbI'm currently down with the flu. Can you post a Github Discussion Q/A? Then I'll reply later.
That was a fast answer for that you have the flu! I’ll go about it. Get better soon and rest well!
Hope you feel better soon!