|
|
@ -23,8 +23,6 @@ using NzbDrone.Common.Instrumentation;
|
|
|
|
using NzbDrone.Common.Instrumentation.Extensions;
|
|
|
|
using NzbDrone.Common.Instrumentation.Extensions;
|
|
|
|
using NzbDrone.Core.Configuration;
|
|
|
|
using NzbDrone.Core.Configuration;
|
|
|
|
using NzbDrone.Core.Datastore.Extensions;
|
|
|
|
using NzbDrone.Core.Datastore.Extensions;
|
|
|
|
|
|
|
|
|
|
|
|
using NzbDrone.Host;
|
|
|
|
|
|
|
|
using PostgresOptions = NzbDrone.Core.Datastore.PostgresOptions;
|
|
|
|
using PostgresOptions = NzbDrone.Core.Datastore.PostgresOptions;
|
|
|
|
|
|
|
|
|
|
|
|
namespace NzbDrone.Host
|
|
|
|
namespace NzbDrone.Host
|
|
|
@ -223,6 +221,8 @@ namespace NzbDrone.Host
|
|
|
|
}
|
|
|
|
}
|
|
|
|
catch (InvalidDataException ex)
|
|
|
|
catch (InvalidDataException ex)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
|
|
|
|
Logger.Error(ex, ex.Message);
|
|
|
|
|
|
|
|
|
|
|
|
throw new InvalidConfigFileException($"{configPath} is corrupt or invalid. Please delete the config file and Lidarr will recreate it.", ex);
|
|
|
|
throw new InvalidConfigFileException($"{configPath} is corrupt or invalid. Please delete the config file and Lidarr will recreate it.", ex);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|