aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2012-07-17 11:30:28 -0500
committerJack Nagel2012-07-17 11:30:28 -0500
commit9f6a16eccd8d13bac476a3f8ab079c99d847c4d2 (patch)
tree3b8851926922b785a1e1afb411416cd6d2d28027 /Library
parentc71002a4a34251c71c99f6c962a89d64d6ad9f21 (diff)
downloadbrew-9f6a16eccd8d13bac476a3f8ab079c99d847c4d2.tar.bz2
Coerce advice to a string in ChecksumMismatchError
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/exceptions.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/exceptions.rb b/Library/Homebrew/exceptions.rb
index 431d89dfd..a1fed4b86 100644
--- a/Library/Homebrew/exceptions.rb
+++ b/Library/Homebrew/exceptions.rb
@@ -173,6 +173,6 @@ class ChecksumMismatchError < RuntimeError
end
def to_s
- super + advice
+ super + advice.to_s
end
end