mirror of
https://github.com/friendica/friendica
synced 2025-04-25 06:30:11 +00:00
Use "Exception"
This commit is contained in:
parent
2b513a48c7
commit
6e3602591d
20 changed files with 41 additions and 41 deletions
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue