local-ch / lhc

🚀 Advanced HTTP Client for Ruby. Fueled with interceptors.
GNU General Public License v3.0
43 stars 1 forks source link

Rollbar interceptor error handling #165

Closed skaestle closed 5 years ago

skaestle commented 5 years ago

we have an issue on the ratings app where the rollbar notification results in an Encoding::UndefinedConversionError (https://rollbar.com/local.ch/ratings/items/10/)

we assume this masks the underlying cause of the initial rollbar warning.

this is an attempt of recovering in such a case, by sanitizing the data sent to rollbar.

Att: