Skip to content
This repository was archived by the owner on Dec 16, 2025. It is now read-only.

Conversation

@flavorjones
Copy link
Member

Pulling in the key change from basecamp/fizzy#1710

Copy link
Member

@jorgemanrubia jorgemanrubia left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @flavorjones 🙏

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 })
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think here we can rely on the rails-structured-logging gem be availalble and remove the try, right?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I will tweak in the branch

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 })
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I will tweak in the branch

@jorgemanrubia jorgemanrubia merged commit 255b9a9 into main Nov 26, 2025
@flavorjones flavorjones deleted the flavorjones/log-account-id branch November 30, 2025 00:38
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants