mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
elofgren: Display a 'Sorry, this bounce report has already been logged, not logging this duplicate bounce.' on duplicate bounce logs instead of a blank screen to aid in debugging.
(merged from branches/gsoc) git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@41980 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
f3dde5bf6b
commit
481781c797
@ -849,7 +849,9 @@ class Email_BounceHandler extends Controller {
|
||||
$record->write();
|
||||
|
||||
echo "Handled bounced email to address: $email";
|
||||
}
|
||||
} else {
|
||||
echo 'Sorry, this bounce report has already been logged, not logging this duplicate bounce.';
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user