print stacktraces for exceptions