mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-30 11:48:26 -07:00
Display a better error message when config.xml is corrupt
This commit is contained in:
parent
56f695577c
commit
92cc41edeb
3 changed files with 32 additions and 3 deletions
15
NzbDrone.Core/Configuration/InvalidConfigFileException.cs
Normal file
15
NzbDrone.Core/Configuration/InvalidConfigFileException.cs
Normal file
|
@ -0,0 +1,15 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using NzbDrone.Common.Exceptions;
|
||||
|
||||
namespace NzbDrone.Core.Configuration
|
||||
{
|
||||
public class InvalidConfigFileException : Exception
|
||||
{
|
||||
public InvalidConfigFileException(string message, Exception innerException) : base(message, innerException)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue