diff --git a/lib/Command/MigrateGoogleTakeout.php b/lib/Command/MigrateGoogleTakeout.php index 3c6ea70a..81de970c 100644 --- a/lib/Command/MigrateGoogleTakeout.php +++ b/lib/Command/MigrateGoogleTakeout.php @@ -143,7 +143,11 @@ class MigrateGoogleTakeout extends Command if ($node instanceof Folder) { $this->migrateFolder($node); } elseif ($node instanceof File) { - $this->migrateFile($node); + try { + $this->migrateFile($node); + } catch (\Exception $e) { + $this->output->writeln("Error migrating file {$node->getPath()}: {$e->getMessage()}"); + } } } }