No need to use try here

This commit is contained in:
Jorge Manrubia
2025-11-26 13:00:09 +01:00
parent f806d31fdd
commit cb76bf10e2
+1 -1
View File
@@ -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