Skip to content

Only subscribe to Rails.error if enabled#96

Open
kulturbande wants to merge 1 commit intofractaledmind:mainfrom
sitediver:conditional-error-subscriber
Open

Only subscribe to Rails.error if enabled#96
kulturbande wants to merge 1 commit intofractaledmind:mainfrom
sitediver:conditional-error-subscriber

Conversation

@kulturbande
Copy link

The previous behavior could lead to strange errors if solid_errors is not configured in the given environment. The error reporter would try to write to solid_errors table, but the table is not available in the default database. With that if statement in place, the subscriber will only be added, if solid_errors is enabled for the environment.

The previous behavior could lead to strange errors if solid_errors is not configured in the given environment. The error reporter would try to write to solid_errors table, but the table is not available in the default database. With that if statement in place, the subscriber will only be added, if solid_errors is enabled for the environment.
@kulturbande kulturbande force-pushed the conditional-error-subscriber branch from f3fd843 to 77cd2e1 Compare January 24, 2026 14:25
@abuisman
Copy link

+1 for this

@kulturbande kulturbande changed the title Only subscribe to Rails.error if connects_to is configured Only subscribe to Rails.error if enabled Feb 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments