Skip to content
Browse files

Fixed frozen string issue in StatusException.message. Resolves GH-1

  • Loading branch information...
1 parent f349483 commit 37e90ec714ec30794a6c7b422da37463162b0f5b @delano delano committed Nov 23, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/net/sftp/errors.rb
View
2 lib/net/sftp/errors.rb
@@ -30,7 +30,7 @@ def initialize(response, text=nil)
# Override the default message format, to include the code and
# description.
def message
- m = super
+ m = super.dup
m << " #{text}" if text
m << " (#{code}, #{description.inspect})"
end

0 comments on commit 37e90ec

Please sign in to comment.
Something went wrong with that request. Please try again.