summaryrefslogtreecommitdiffstats
path: root/Bugzilla
diff options
context:
space:
mode:
authorMax Kanat-Alexander <mkanat@bugzilla.org>2010-07-20 07:59:41 +0200
committerMax Kanat-Alexander <mkanat@bugzilla.org>2010-07-20 07:59:41 +0200
commitce4cf0862c192c334e83de08f30a437da3aea888 (patch)
tree30c998dc5f739cec8535b9078c895b6426d1b68f /Bugzilla
parente8662ecdbbf4e97ee738dd8663a06d42ab273763 (diff)
downloadbugzilla-ce4cf0862c192c334e83de08f30a437da3aea888.tar.gz
bugzilla-ce4cf0862c192c334e83de08f30a437da3aea888.tar.xz
Bug 575475: ANSI coloring of error messages was hiding template compilation
errors r=LpSolit, a=LpSolit
Diffstat (limited to 'Bugzilla')
-rw-r--r--Bugzilla/Install/Util.pm4
1 files changed, 3 insertions, 1 deletions
diff --git a/Bugzilla/Install/Util.pm b/Bugzilla/Install/Util.pm
index 1e5a7b5e1..41f608abf 100644
--- a/Bugzilla/Install/Util.pm
+++ b/Bugzilla/Install/Util.pm
@@ -622,7 +622,9 @@ sub _console_die {
# that it should put "at Bugzilla/Install.pm line 1234" after the
# message.
$message =~ s/\n+$//;
- die colored($message, COLOR_ERROR) . "\n";
+ # We put quotes around the message to stringify any object exceptions,
+ # like Template::Exception.
+ die colored("$message", COLOR_ERROR) . "\n";
}
sub prevent_windows_dialog_boxes {