bertrand.signoret
Joined 11/15/2018
bertrand.signoret said about 6 years ago on Custom Error Pages with Slack Notification :
I get errors when trying to apply methods message and source_extract : ``` begin exception = request.env['action_dispatch.show_detailed_exceptions'] message = exception.message.to_s source_extract = exception.source_extract.join("\n") backtrace = exception.backtrace[0..9].join("\n") SlackNotifyWorker.perform_async(message, source_extract, backtrace) ensure render status: 500 ``` Error during failsafe response: undefined method `message' for false:FalseClass Error during failsafe response: undefined method `source_extract' for false:FalseClass Any ideas ?

bertrand.signoret said about 6 years ago on Custom Error Pages with Slack Notification :
I was simulating a 500 error. Wasn't I supposed to get more from exception ?