You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Uncaught exceptions in Rails are reported to rollbar with stacktrace and context such as request parameters.
However if we replace :
may_raise_exception()
by
beginmay_raise_exception()rescueTheExceptionClass=>errorreturnifshould_fail_silently(error)# sometimes the exception should not be raisedRollbar.error(error)end
I noticed a loss of context, I no longer have request param for example. I still have the proper stacktrace though so the part of the doc I read did not really helped me and I was wondering if it was a known issue and if there was something I could do to keep the maximum amount of context.
PierreND, Trosss, ndmt, fonji, guicharn and 1 more