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;
|
||||
case Enums\HttpVariableType::DateTime:
|
||||
case HttpVariableType::DateTime:
|
||||
if($var != ''){
|
||||
try{
|
||||
return new DateTimeImmutable($var);
|
||||
|
|
|
@ -209,8 +209,8 @@ catch(Exception $ex){
|
|||
$em = new Email(true);
|
||||
$em->To = ADMIN_EMAIL_ADDRESS;
|
||||
$em->Subject = 'Ingesting FA donations failed';
|
||||
$em->Body = Template::EmailDonationIngestionFailed(['exception' => preg_replace('/^/m', "\t", $exceptionString)]);
|
||||
$em->TextBody = Template::EmailDonationIngestionFailedText(['exception' => preg_replace('/^/m', "\t", $exceptionString)]);
|
||||
$em->Body = Template::EmailDonationProcessingFailed(['exception' => preg_replace('/^/m', "\t", $exceptionString)]);
|
||||
$em->TextBody = Template::EmailDonationProcessingFailedText(['exception' => preg_replace('/^/m', "\t", $exceptionString)]);
|
||||
$em->Send();
|
||||
|
||||
throw $ex;
|
||||
|
|
|
@ -6,8 +6,6 @@
|
|||
<body>
|
||||
<h1>Donation processing failed</h1>
|
||||
<p>The donation processing script failed with this exception:</p>
|
||||
<pre>
|
||||
<?= $exception ?>
|
||||
</pre>
|
||||
<pre><?= $exception ?></pre>
|
||||
</body>
|
||||
</html>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue