mirror of
https://github.com/standardebooks/web.git
synced 2025-07-06 06:40:33 -04:00
Fix some broken references
This commit is contained in:
parent
e2ba152f8c
commit
8bcd52a40a
3 changed files with 4 additions and 6 deletions
|
@ -210,7 +210,7 @@ class HttpInput{
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case Enums\HttpVariableType::DateTime:
|
case HttpVariableType::DateTime:
|
||||||
if($var != ''){
|
if($var != ''){
|
||||||
try{
|
try{
|
||||||
return new DateTimeImmutable($var);
|
return new DateTimeImmutable($var);
|
||||||
|
|
|
@ -209,8 +209,8 @@ catch(Exception $ex){
|
||||||
$em = new Email(true);
|
$em = new Email(true);
|
||||||
$em->To = ADMIN_EMAIL_ADDRESS;
|
$em->To = ADMIN_EMAIL_ADDRESS;
|
||||||
$em->Subject = 'Ingesting FA donations failed';
|
$em->Subject = 'Ingesting FA donations failed';
|
||||||
$em->Body = Template::EmailDonationIngestionFailed(['exception' => preg_replace('/^/m', "\t", $exceptionString)]);
|
$em->Body = Template::EmailDonationProcessingFailed(['exception' => preg_replace('/^/m', "\t", $exceptionString)]);
|
||||||
$em->TextBody = Template::EmailDonationIngestionFailedText(['exception' => preg_replace('/^/m', "\t", $exceptionString)]);
|
$em->TextBody = Template::EmailDonationProcessingFailedText(['exception' => preg_replace('/^/m', "\t", $exceptionString)]);
|
||||||
$em->Send();
|
$em->Send();
|
||||||
|
|
||||||
throw $ex;
|
throw $ex;
|
||||||
|
|
|
@ -6,8 +6,6 @@
|
||||||
<body>
|
<body>
|
||||||
<h1>Donation processing failed</h1>
|
<h1>Donation processing failed</h1>
|
||||||
<p>The donation processing script failed with this exception:</p>
|
<p>The donation processing script failed with this exception:</p>
|
||||||
<pre>
|
<pre><?= $exception ?></pre>
|
||||||
<?= $exception ?>
|
|
||||||
</pre>
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue