No need to use try here
This commit is contained in:
@@ -28,7 +28,7 @@ module Fizzy
|
||||
ActiveSupport.on_load(:action_controller_base) do
|
||||
before_action do
|
||||
if Current.account.present?
|
||||
logger.try(:struct, account: { queenbee_id: Current.account.external_account_id })
|
||||
logger.struct(account: { queenbee_id: Current.account.external_account_id })
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user