X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FUtil%2FHTTPSignature.php;h=d48d02c20e2382cc178948280a25b865a9b45b70;hb=7e6ba0b4d271735bbf7474fb75a7cf43b787b678;hp=f082fe32f79f7eb3f9f905a2f6bca2d22050b28e;hpb=baf75adfca478a3676b37fb1d41f0b2d750e86b2;p=friendica.git diff --git a/src/Util/HTTPSignature.php b/src/Util/HTTPSignature.php index f082fe32f7..d48d02c20e 100644 --- a/src/Util/HTTPSignature.php +++ b/src/Util/HTTPSignature.php @@ -422,7 +422,12 @@ class HTTPSignature */ public static function fetch(string $request, int $uid): array { - $curlResult = self::fetchRaw($request, $uid); + try { + $curlResult = self::fetchRaw($request, $uid); + } catch (\Exception $exception) { + Logger::notice('Error fetching url', ['url' => $request, 'exception' => $exception]); + return []; + } if (empty($curlResult)) { return [];