Skip to content

production not seeing most exceptions #12

Closed
@holman

Description

@holman

Hi! Digging the project thus far; really like the idea for something more straightforward, particularly for greenfield apps! Kudos.

I've got a weird situation that for some reason I can't sort out what might be happening. solid_errors works well and as-intended in development, but I'm having some issues in production- namely, it's not picking up any new exceptions generated by the app.

  • database tables were created and exist
  • a simple raise "boom" in a controller doesn't get caught and inserted into the errors table
  • solid_errors does get listed as a subscriber in Rails.error

If I manually trigger an exception using Rails' error API in the console, it shows up correctly:

Rails.error.record do
  1 + '1' # raises TypeError
end

Probably something obvious I'm missing, but just was a bit confusing since the app I'm trying it in is pretty straightforward; shouldn't be many changes from a stock production.rb at this point.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions