Skip to content

Commit

Permalink
Merge pull request #2 from swalberg/backtrace_regexp_fix
Browse files Browse the repository at this point in the history
Some backtraces don't have a :in `function'
  • Loading branch information
coderanger committed May 4, 2012
2 parents ea3b105 + 6e15d74 commit 069731b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/raven/event.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class Event
"error" => 40,
}

BACKTRACE_RE = /^(.+?):(\d+)(?::in `(.+?)')$/
BACKTRACE_RE = /^(.+?):(\d+)(?::in `(.+?)')?$/

attr_reader :id
attr_accessor :project, :message, :timestamp, :level
Expand Down

0 comments on commit 069731b

Please sign in to comment.