Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Pathname to String conversion error #1310

Merged
merged 1 commit into from
Sep 28, 2024
Merged

Commits on Sep 28, 2024

  1. Fix Pathname to String conversion error

    In Rails apps the app root path is a Pathname instance. We can't use it
    the same way as a String when using it in `.start_with?` when comparing
    backtrace lines for error causes in
    `Transaction#first_formatted_backtrace_line`.
    
    Fix this by casting the root_path always to a String in the Config
    initializer so we're always sure it's a String and can use it as such.
    tombruijn committed Sep 28, 2024
    Configuration menu
    Copy the full SHA
    3000fc8 View commit details
    Browse the repository at this point in the history