lib/raygun/client.rb in raygun4ruby-2.0.0 vs lib/raygun/client.rb in raygun4ruby-2.1.0
- old
+ new
@@ -191,9 +191,11 @@
request: request_information(env),
environment: {
utcOffset: Time.now.utc_offset / 3600
}
}
+ store = ::Raygun::Breadcrumbs::Store
+ error_details[:breadcrumbs] = store.stored.map(&:build_payload) if store.any?
error_details.merge!(groupingKey: grouping_key) if grouping_key
user_details = if affected_user_present?(env)
user_information(env)