Skip to content

Runtime error not logging specific message #213

Closed
@daneshd

Description

@daneshd

I recently upgraded a rails app and was deploying it to our staging environment with warbler. Every time I made a web request to it though, I kept hitting an unknown error. The only message I saw in my tomcat logs was resetting rack response due exception.

After getting some help from some fine folks in the jruby IRC channel, they suggested to make an issue to see if there's enough info being logged. Perhaps I just missed the error message or have misconfigured something? They mentioned that the web response being sent back should have included something about the error but I didn't see anything. I'm guessing it may be because I was running things in staging and that Rails just redirects to my 500.html error page instead of showing any info on the error.

I included the exception message in this log and hacked together a build to test for myself. That helped me solve my own issue but it probably doesn't hurt to have this in place for others.

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