Skip to content

The Free Software Media System - Server Backend & API

do not ignore exceptions during migration execution

Mark Monteiro7ecb16a46e44
diff --git a/Jellyfin.Server/Migrations/MigrationRunner.cs b/Jellyfin.Server/Migrations/MigrationRunner.cs
index 0274e68a1d..15c1e75aaf 100644
--- a/Jellyfin.Server/Migrations/MigrationRunner.cs
+++ b/Jellyfin.Server/Migrations/MigrationRunner.cs
@@ -57,7 +57,7 @@ namespace Jellyfin.Server.Migrations
catch (Exception ex)
{
logger.LogError(ex, "Cannot apply migration {Name}", updater.Name);
- continue;
+ throw;
}
logger.LogInformation("Migration {Name} applied successfully", updater.Name);