Skip to content

Commit

Permalink
Add comment
Browse files Browse the repository at this point in the history
explicitly stating that this code was directly adapted from the Honeybadger gem
  • Loading branch information
fractaledmind committed Jan 29, 2024
1 parent 5842506 commit 0dc17a6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/models/solid_errors/backtrace_line.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
module SolidErrors
# adapted from: https://github.com/honeybadger-io/honeybadger-ruby/blob/master/lib/honeybadger/backtrace.rb
class BacktraceLine
# Backtrace line regexp (optionally allowing leading X: for windows support).
INPUT_FORMAT = %r{^((?:[a-zA-Z]:)?[^:]+):(\d+)(?::in `([^']+)')?$}.freeze
Expand Down

0 comments on commit 0dc17a6

Please sign in to comment.