HI Team.
We are trying to customize error reporting by Rollbar in Puma to include more data.
in puma.rb, this how its suggested in the docs.
lowlevel_error_handler do |error, env, status|
Rollbar.error(error)
end
The question is, is it a good idea to send the whole env as well into Rollbar
Rollbar.error(error, env)
I am not concerned as much with accidentally sending sensitive information as Rollbar should automatically scrub it. My concern was more on the data size in rack, because it might include file upload, or stream of data.
Thank you