1
0
Fork 1
mirror of https://github.com/pixelfed/pixelfed.git synced 2024-12-25 01:05:36 +00:00

Update CloudMediaMigrate command

This commit is contained in:
Daniel Supernault 2022-12-18 00:12:46 -07:00
parent 175630d9b4
commit fe76e709be
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -8,6 +8,7 @@ use App\Services\MediaStorageService;
use App\Util\Lexer\PrettyNumber;
use Illuminate\Support\Facades\Storage;
use Symfony\Component\HttpFoundation\File\Exception\FileNotFoundException;
use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
class CloudMediaMigrate extends Command
{
@ -66,6 +67,8 @@ class CloudMediaMigrate extends Command
MediaStorageService::store($media);
} catch (FileNotFoundException $e) {
return;
} catch (NotFoundHttpException $e) {
return;
} catch (Exception $e) {
return;
}