diff --git a/NzbDrone.Api/ErrorManagement/NzbDroneErrorPipeline.cs b/NzbDrone.Api/ErrorManagement/NzbDroneErrorPipeline.cs index 2a2d0b834..47d79c849 100644 --- a/NzbDrone.Api/ErrorManagement/NzbDroneErrorPipeline.cs +++ b/NzbDrone.Api/ErrorManagement/NzbDroneErrorPipeline.cs @@ -3,7 +3,7 @@ using FluentValidation; using NLog; using Nancy; using NzbDrone.Api.Extensions; -using NzbDrone.Common.Exceptions; +using NzbDrone.Core; using HttpStatusCode = Nancy.HttpStatusCode; namespace NzbDrone.Api.ErrorManagement diff --git a/NzbDrone.Common/NzbDrone.Common.csproj b/NzbDrone.Common/NzbDrone.Common.csproj index e3fb239c0..6a4006315 100644 --- a/NzbDrone.Common/NzbDrone.Common.csproj +++ b/NzbDrone.Common/NzbDrone.Common.csproj @@ -88,7 +88,6 @@ - diff --git a/NzbDrone.Core/MetadataSource/Trakt/TraktException.cs b/NzbDrone.Core/MetadataSource/Trakt/TraktException.cs index edafb1ca3..999122301 100644 --- a/NzbDrone.Core/MetadataSource/Trakt/TraktException.cs +++ b/NzbDrone.Core/MetadataSource/Trakt/TraktException.cs @@ -1,9 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Net; -using System.Text; -using NzbDrone.Common.Exceptions; +using System.Net; namespace NzbDrone.Core.MetadataSource.Trakt { diff --git a/NzbDrone.Core/NzbDrone.Core.csproj b/NzbDrone.Core/NzbDrone.Core.csproj index 10a35bc97..15c5d5a57 100644 --- a/NzbDrone.Core/NzbDrone.Core.csproj +++ b/NzbDrone.Core/NzbDrone.Core.csproj @@ -224,6 +224,7 @@ + diff --git a/NzbDrone.Common/Exceptions/NzbDroneClientException.cs b/NzbDrone.Core/NzbDroneClientException.cs similarity index 89% rename from NzbDrone.Common/Exceptions/NzbDroneClientException.cs rename to NzbDrone.Core/NzbDroneClientException.cs index 3f5bc8927..cc94caffc 100644 --- a/NzbDrone.Common/Exceptions/NzbDroneClientException.cs +++ b/NzbDrone.Core/NzbDroneClientException.cs @@ -1,6 +1,7 @@ using System.Net; +using NzbDrone.Common.Exceptions; -namespace NzbDrone.Common.Exceptions +namespace NzbDrone.Core { public class NzbDroneClientException : NzbDroneException {