Use "Exception"

This commit is contained in:
Michael 2023-02-26 22:43:45 +00:00
parent 2b513a48c7
commit 6e3602591d
20 changed files with 41 additions and 41 deletions

View file

@ -572,8 +572,8 @@ class Processor
{
try {
$curlResult = HTTPSignature::fetchRaw($url, 0);
} catch (\Throwable $th) {
Logger::notice('Error fetching url', ['url' => $url, 'error' => $th]);
} catch (\Exception $exception) {
Logger::notice('Error fetching url', ['url' => $url, 'exception' => $exception]);
return true;
}