Improve error tracing in migrate app data folder

(cherry picked from commit 5ef6145db350df36507b3efaf1f8f412c1a13779)
This commit is contained in:
Bogdan 2025-09-21 18:43:40 +03:00 committed by bakerboy448
parent 64b2a10b3f
commit 554a54b009

View file

@ -122,7 +122,7 @@ private void MigrateAppDataFolder()
catch (Exception ex)
{
_logger.Debug(ex, ex.Message);
throw new RadarrStartupException("Unable to migrate DB from nzbdrone.db to {0}. Migrate manually", _appFolderInfo.GetDatabase());
throw new RadarrStartupException(ex, "Unable to migrate DB from nzbdrone.db to {0}. Migrate manually", _appFolderInfo.GetDatabase());
}
}