In node, log the full stack trace on error with an exception