Save error backtrace if payload processing fails.