thrownewCorruptDatabaseException("Database file: {0} is corrupt, restore from backup if available. See: https://wiki.servarr.com/lidarr/faq#i-am-getting-an-error-database-disk-image-is-malformed",e,fileName);
thrownewCorruptDatabaseException("Database file: {0} is corrupt, restore from backup if available. See: https://wiki.servarr.com/lidarr/faq#i-am-getting-an-error-database-disk-image-is-malformed",e,fileName);
}
}
catch(NpgsqlExceptione)
{
if(e.InnerExceptionisSocketException)
{
varretryCount=3;
while(true)
{
Logger.Error(e,"Failure to connect to Postgres DB, {0} retries remaining",retryCount);