chore(lograge): fix log without to_log key
This commit is contained in:
parent
485dcd1db7
commit
9d7f747805
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ Rails.application.configure do
|
|||
}
|
||||
}
|
||||
|
||||
hash.merge!(event.payload[:to_log])
|
||||
hash.merge!(event.payload[:to_log]) if event.payload.key?(:to_log)
|
||||
|
||||
hash.compact
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue