Commit ce4cf086 authored by Max Kanat-Alexander's avatar Max Kanat-Alexander

Bug 575475: ANSI coloring of error messages was hiding template compilation

errors r=LpSolit, a=LpSolit
parent e8662ecd
......@@ -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 {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment