print the stacktrace if there is no error handling, to protect the user
against hidden errors
same for promises, print the stacktrace if there is no error handler, to
protect the user against hidden errors