]> git.mxchange.org Git - friendica.git/blobdiff - src/Util/HTTPSignature.php
Tests added
[friendica.git] / src / Util / HTTPSignature.php
index fe623f2968a0756b17e8b7d635bc94c400c96d04..d48d02c20e2382cc178948280a25b865a9b45b70 100644 (file)
@@ -424,8 +424,8 @@ class HTTPSignature
        {
                try {
                        $curlResult = self::fetchRaw($request, $uid);
-               } catch (\Throwable $th) {
-                       Logger::notice('Error fetching url', ['url' => $request, 'error' => $th]);
+               } catch (\Exception $exception) {
+                       Logger::notice('Error fetching url', ['url' => $request, 'exception' => $exception]);
                        return [];
                }