Skip to content

Commit

Permalink
Merge pull request #1329 from OpenConext/errors/remove-sent-administr…
Browse files Browse the repository at this point in the history
…ator-claim

Do not claim something has been sent to any administator
  • Loading branch information
baszoetekouw authored Oct 23, 2024
2 parents 5dc97d7 + 4d10e1f commit 3c4bd63
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions library/EngineBlock/Application/ErrorHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ public function exception(Throwable $e)

$this->_application->reportError($e);

$message = 'An exceptional condition occurred, it has been logged and sent to the administrator.';
$message = 'An exceptional condition occurred. Contact support if this error persists.';
die($message);
}

Expand Down Expand Up @@ -124,7 +124,7 @@ public function shutdown()
if (ini_get('display_errors')) {
echo "<br />" . PHP_EOL;
}
$message = 'A very serious error occurred, it has been logged and sent to the administrator.';
$message = 'A very serious error occurred. Contact support if the error persists.';
$message .= PHP_EOL . '<br /><br /> ERROR: ' . PHP_EOL . '<br />';
$message .= '<strong style="color: red"><pre>' . var_export($lastError->toArray(), true) . '</pre></strong>';
echo($message);
Expand Down

0 comments on commit 3c4bd63

Please sign in to comment.