Skip to content

Commit 1655a04

Browse files
committed
fix: support Ruby 3.4 quote syntax in backtraces
The actual fix is in cc5ae01 — adding this comment to kick off a release :)
1 parent cc5ae01 commit 1655a04

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/honeybadger/backtrace.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ class Backtrace
77
# Handles backtrace parsing line by line.
88
class Line
99
# Backtrace line regexp (optionally allowing leading X: for windows support).
10+
# Capture quoted strings either with leading backtick (pre Ruby 3.4) or single quote.
1011
INPUT_FORMAT = %r{^((?:[a-zA-Z]:)?[^:]+):(\d+)(?::in (?:`|')([^']+)')?$}.freeze
1112

1213
# The file portion of the line (such as app/models/user.rb).

0 commit comments

Comments
 (0)