mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-26 20:11:49 +02:00
NzbDroneException now has inner exception
This commit is contained in:
@@ -15,5 +15,16 @@ namespace NzbDrone.Common.Exceptions
|
|||||||
{
|
{
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
protected NzbDroneException(string message, Exception innerException, params object[] args)
|
||||||
|
: base(string.Format(message, args), innerException)
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
protected NzbDroneException(string message, Exception innerException)
|
||||||
|
: base(message, innerException)
|
||||||
|
{
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -6,7 +6,7 @@ using NzbDrone.Common.Exceptions;
|
|||||||
|
|
||||||
namespace NzbDrone.Core.Configuration
|
namespace NzbDrone.Core.Configuration
|
||||||
{
|
{
|
||||||
public class InvalidConfigFileException : Exception
|
public class InvalidConfigFileException : NzbDroneException
|
||||||
{
|
{
|
||||||
public InvalidConfigFileException(string message, Exception innerException) : base(message, innerException)
|
public InvalidConfigFileException(string message, Exception innerException) : base(message, innerException)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user