Skip to content

Commit

Permalink
Fixed frozen string issue in StatusException.message. Resolves GH-1
Browse files Browse the repository at this point in the history
  • Loading branch information
delano committed Nov 23, 2009
1 parent f349483 commit 37e90ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/net/sftp/errors.rb
Expand Up @@ -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
Expand Down

0 comments on commit 37e90ec

Please sign in to comment.