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
With release 2.7.0 I got the actual error message for the issued described in #354 that is
Failsafe from rollbar-gem. NoMethodError: "undefined method `[]' for nil:NilClass" in lib/rollbar/util.rb:70:in `block in deep_merge': build_payload in exception_data
So instead of the patch discussed here the right fix should check if hash1 is nil.
However I don't know how to handle that case because I don't know the semantic of that method.
Looking at the code a simple hash1 ||= {} before the each_key loop may fix the issue but I don't know what consequences may have on the other code, so I won't submit a PR for that.
The text was updated successfully, but these errors were encountered:
With release 2.7.0 I got the actual error message for the issued described in #354 that is
So instead of the patch discussed here the right fix should check if
hash1
is nil.However I don't know how to handle that case because I don't know the semantic of that method.
Looking at the code a simple
hash1 ||= {}
before theeach_key
loop may fix the issue but I don't know what consequences may have on the other code, so I won't submit a PR for that.The text was updated successfully, but these errors were encountered: