Skip to content

Commit

Permalink
Merge pull request #8 from jgraichen/renovate/jgraichen-rubocop-confi…
Browse files Browse the repository at this point in the history
…g-12.x
  • Loading branch information
jgraichen authored Sep 27, 2024
2 parents b70f8a6 + 6e7afff commit b8770d2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@ gem 'rspec'
gem 'webmock', '~> 3.0'

group :test do
gem 'rubocop-config', github: 'jgraichen/rubocop-config', ref: 'v11', require: false
gem 'rubocop-config', github: 'jgraichen/rubocop-config', ref: 'v12', require: false
end
4 changes: 2 additions & 2 deletions lib/rack/remote.rb
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,13 @@ def set_backtrace(trace) # rubocop:disable Naming/AccessorMethodName
trace << "/:0 caused by #{cause.class.name}: #{cause.message}"
trace += cause.backtrace.map! {|line| " #{line}" }
end
super trace
super
end
end

class RemoteError < StandardError
def initialize(opts = {})
super "#{opts[:class]}: #{opts[:error]}"
super("#{opts[:class]}: #{opts[:error]}")
set_backtrace opts[:backtrace]
end
end
Expand Down

0 comments on commit b8770d2

Please sign in to comment.