<?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
*
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();
}