diff options
Diffstat (limited to 'Bugzilla/Install/Util.pm')
-rw-r--r-- | Bugzilla/Install/Util.pm | 4 |
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 { |