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
This commit is contained in:
endico%mozilla.org
2000-06-23 22:56:45 +00:00
parent f0dcf103dd
commit 74595fe77d

View File

@@ -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);