Fixes #1591: Display transaction failure reason in log page