From 74595fe77d2f7103217372320f36ccb1614b21c2 Mon Sep 17 00:00:00 2001 From: "endico%mozilla.org" Date: Fri, 23 Jun 2000 22:56:45 +0000 Subject: [PATCH] include error messages for each bug in the exporter's confirmation mail git-svn-id: svn://10.0.0.236/trunk@73107 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/webtools/bugzilla/importxml.pl | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/mozilla/webtools/bugzilla/importxml.pl b/mozilla/webtools/bugzilla/importxml.pl index eeef3370818..4310c69f8e7 100755 --- a/mozilla/webtools/bugzilla/importxml.pl +++ b/mozilla/webtools/bugzilla/importxml.pl @@ -555,8 +555,15 @@ for (my $k=1 ; $k <= $bugqty ; $k++) { "($id, $exporterid, now(), " . SqlQuote($long_description) . ")"); $log .= "Bug $bug_fields{'bug_id'}\@$urlbase imported as bug $id.\n"; + if ($err) { + $log .= "The following problems were encountered importing this bug.\n"; + $log .= "You may have to set certain fields in the new bug by hand.\n"; + $log .= $err; + $log .= "\n\n"; + } } +$log .= "\n\n my $subject = "$bugqty bug(s) successfully moved from $urlbase to " . Param("urlbase") ; my @to = ($exporter);