Jul 27, 2023
Report custom data with Rails error handler
Ruby3.4.9
Allow passing custom data using the appsignal
context via the Rails error reporter:
Ruby
custom_data = { :hash => { :one => 1, :two => 2 }, :array => [1, 2] } Rails.error.handle(:context => { :appsignal => { :custom_data => custom_data } }) do raise "Test" end
See the Ruby gem 3.4.9 changelog for more information.