Follow

Node’s built-in error reporting leaves a lot to be desired so I just spent some time improving the error output for NodeScript runtime errors in Nodekit (github.com/small-tech/nodekit#)

· · Web · 1 · 2 · 6

(PS. The source shown is still from the bundle linked by esbuild. Another enhancement will be to see if the error is in the original NodeScript or in linked files and display the location accordingly. But this is good enough for now.)

Sign in to participate in the conversation
Aral’s Mastodon

This is my personal Mastodon.