summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Install
diff options
context:
space:
mode:
Diffstat (limited to 'Bugzilla/Install')
-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 {