summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorterry%mozilla.org <>2000-03-24 03:20:34 +0100
committerterry%mozilla.org <>2000-03-24 03:20:34 +0100
commit71eef1691521b26b1554d9b647bee684e02e47e7 (patch)
tree04e44b9592711826e0713de336798d0f5a4fd040
parent903acdf95377df5d1513732cb3c136a875b177c0 (diff)
downloadbugzilla-71eef1691521b26b1554d9b647bee684e02e47e7.tar.gz
bugzilla-71eef1691521b26b1554d9b647bee684e02e47e7.tar.xz
Add a bit of helpful debugging info when we get a consistancy check problem.
-rw-r--r--CGI.pl7
1 files changed, 6 insertions, 1 deletions
diff --git a/CGI.pl b/CGI.pl
index f7cf52291..8925afd67 100644
--- a/CGI.pl
+++ b/CGI.pl
@@ -451,7 +451,12 @@ sub make_options {
"Please send mail to " . Param("maintainer") . " with " .
"details of what you were doing when this message " .
"appeared. Thank you.\n";
- PutFooter();
+ if (!$src) {
+ $src = ["???null???"];
+ }
+ print "<pre>src = " . value_quote(join(' ', @$src)) . "\n";
+ print "default = " . value_quote($default) . "</pre>";
+ Putfooter();
# confess "Gulp.";
exit 0;