logger.error $!.backtrace
Also, don’t forget you can
rescue ErrorType => error_name
to give your error a variable name other than the default $!
.
logger.error $!.backtrace
Also, don’t forget you can
rescue ErrorType => error_name
to give your error a variable name other than the default $!
.