Cobenian / raygun

A raygun client for Elixir
Apache License 2.0
19 stars 15 forks source link

Handle blank stack trace lines #6

Closed RobinClowers closed 9 years ago

RobinClowers commented 9 years ago

If you try to call into a module that isn't compiled in a release, you get an empty keyword list back from the stack trace.

RobinClowers commented 9 years ago

This happened because we were referencing Mix.env in our code, and the Mix module isn't available in a release build.

brweber2 commented 9 years ago

Ok, closing this issue based on your second comment. If you feel there is something else we should do please let us know and we can re-open this issue.

RobinClowers commented 9 years ago

Is there something wrong with this patch? Maybe I didn't make it clear, when this happens right now the error doesn't get reported to raygun because the line_from function blows up.

brweber2 commented 9 years ago

No, totally my fault. I didn't see that you had provided a pull request. I'll review and merge this in shortly...

brweber2 commented 9 years ago

Release as 0.1.4

RobinClowers commented 9 years ago

Ah no worries. Thanks for getting this out!