add stack trace to console error output