]> git.mxchange.org Git - friendica.git/blobdiff - src/Module/Proxy.php
Merge pull request #13800 from annando/channel-languages
[friendica.git] / src / Module / Proxy.php
index 3f1e4b2b80ed5caa70968028261e5a3d5bdf3881..a4a140e47c0e73263645fed727f78e4793f4cfec 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /**
- * @copyright Copyright (C) 2010-2023, the Friendica project
+ * @copyright Copyright (C) 2010-2024, the Friendica project
  *
  * @license GNU AGPL version 3 or any later version
  *
@@ -92,8 +92,8 @@ class Proxy extends BaseModule
                                self::responseError();
                                // stop.
                        }
-               } catch (\Throwable $th) {
-                       Logger::notice('Error fetching image', ['image' => $request['url'], 'error' => $th]);
+               } catch (\Exception $exception) {
+                       Logger::notice('Error fetching image', ['image' => $request['url'], 'exception' => $exception]);
                        self::responseError();
                }