From 9f6a16eccd8d13bac476a3f8ab079c99d847c4d2 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Tue, 17 Jul 2012 11:30:28 -0500 Subject: [PATCH] Coerce advice to a string in ChecksumMismatchError Signed-off-by: Jack Nagel --- Library/Homebrew/exceptions.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/exceptions.rb b/Library/Homebrew/exceptions.rb index 431d89dfd5..a1fed4b862 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