Skip to content

Commit

Permalink
fix: support Ruby 3.4 quote syntax in backtraces
Browse files Browse the repository at this point in the history
The actual fix is in cc5ae01 — adding this comment to kick off a release :)
  • Loading branch information
stympy committed Dec 17, 2024
1 parent cc5ae01 commit 1655a04
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/honeybadger/backtrace.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ class Backtrace
# Handles backtrace parsing line by line.
class Line
# Backtrace line regexp (optionally allowing leading X: for windows support).
# Capture quoted strings either with leading backtick (pre Ruby 3.4) or single quote.
INPUT_FORMAT = %r{^((?:[a-zA-Z]:)?[^:]+):(\d+)(?::in (?:`|')([^']+)')?$}.freeze

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

0 comments on commit 1655a04

Please sign in to comment.