Skip to content

Some backtraces don't have a :in `function'#2

Merged
coderanger merged 1 commit intogetsentry:masterfrom
swalberg:backtrace_regexp_fix
May 4, 2012
Merged

Some backtraces don't have a :in `function'#2
coderanger merged 1 commit intogetsentry:masterfrom
swalberg:backtrace_regexp_fix

Conversation

@swalberg
Copy link
Copy Markdown
Contributor

@swalberg swalberg commented May 4, 2012

Some backtrace lines don't report a function, so when I was testing out this client I was getting an exception. Altered the regexp to make the third element optional, which also reflects what the code says.

coderanger added a commit that referenced this pull request May 4, 2012
Some backtraces don't have a :in `function'
@coderanger coderanger merged commit 069731b into getsentry:master May 4, 2012
@coderanger
Copy link
Copy Markdown
Contributor

Derpppp, I remembered to put all the other code in place, but forgot that one char. Thanks for the patch!

jsjohnst pushed a commit to jsjohnst/raven-ruby that referenced this pull request Jan 13, 2020
In issue getsentry#943 sub-point getsentry#2, it was identified that using RUBY_DESCRIPTION
returns the same thing as `ruby -v` does for all currently supported Ruby
versions. This change fixes that sub-point and provides a fallback to the
old method in the event as a safety precaution.
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