Expose stack traces to error logs.