]> git.mxchange.org Git - friendica.git/blobdiff - src/Util/HTTPSignature.php
spelling: calendar
[friendica.git] / src / Util / HTTPSignature.php
index fe623f2968a0756b17e8b7d635bc94c400c96d04..1d57f5ea8095ff791750f6eec2e2ff875d715735 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 [];
                }
 
@@ -627,7 +627,7 @@ class HTTPSignature
                }
 
                if (empty($algorithm)) {
-                       Logger::info('No alagorithm');
+                       Logger::info('No algorithm');
                        return false;
                }