Skip to content

Raising a ConfigurationError causes application to crash when using Rails 8.1.1 #217

@kennyevil

Description

@kennyevil

When running bundle exec rails generate dfe:analytics:install after installing the gem on a Rails 8.1.1 application, I receive the following error

Image

After investigating, the crash seems to be caused when raising the ConfigurationError if there are any configuration errors. I've investigated further and the same thing seems to occur when using a StandardError or an Exception. The errors do output on the screen correctly but something at the end of the exception causes the entire application to crash.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions