Hacker News new | past | comments | ask | show | jobs | submit login

Whenever there's an error which is non-fatal. Do console.error("Your error") and it'll write to stderr or alternatively process.stderr.write("Your Error\n").

Albeit rare in normal JS because it seems most things are fatal when they break, lots of libraries use it.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: