Skip to content

Conversation

@jmalves
Copy link
Contributor

@jmalves jmalves commented Oct 20, 2016

We were having a problem were certain errors were not being reported.

The cause was that MessageInterface#unformatted_message was producing an ArgumentError: malformed format string. This was due to the message being an invalid format string (e.g.: Process failed at char '%'). This occurred even tough there were no params defined.

I changed the behaviour of MessageInterface#unformatted_message to not apply the params to the message using % if there were no params defined.

Not sure if there a more appropriate way to solve this issue. In any case the test case might be helpful.

@nateberkopec
Copy link
Contributor

Whoops that's pretty bad. Will get this fixed and a 2.2.1 out ASAP.

@nateberkopec nateberkopec merged commit a2dd393 into getsentry:master Oct 20, 2016
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