2avutq
Last Updated: February 25, 2016
·
758
· seka_mh

Output error from 'rescue' to logs

rescue Exception

Rails.logger.debug "ERROR: #{$!.message}"

1 Response
Add your response

7143

Or
rescue Exception => e
Rails.logger.debug "ERROR: #{e.message}"

over 1 year ago ·