N°7565 - Generate newsroom action for Person mention on installation/upgrade

This commit is contained in:
Molkobain
2024-07-04 22:43:37 +02:00
parent 22f2b5d0e5
commit a0dc68ab9a
2 changed files with 66 additions and 2 deletions

View File

@@ -2490,6 +2490,15 @@ SQL;
$sData = @file_get_contents($sPath);
if ($sData === false)
{
IssueLog::Error(<<<TXT
Failed to load the file from URL. This can happen for multiple reasons:
- Invalid URL
- URL using HTTPS with an untrusted certificate on the remote server
- ...
TXT
, LogChannels::CORE, [
'URL' => $sPath,
]);
throw new Exception("Failed to load the file from the URL '$sPath'.");
}
else