This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
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 nbb
I'm currently down with the flu. Can you post a Github Discussion Q/A? Then I'll reply later.