Log stack trace in generic pipeline error handler when available.