diff --git a/src/NzbDrone.Test.Common/NzbDroneRunner.cs b/src/NzbDrone.Test.Common/NzbDroneRunner.cs index ab0c82667..ab7814ec2 100644 --- a/src/NzbDrone.Test.Common/NzbDroneRunner.cs +++ b/src/NzbDrone.Test.Common/NzbDroneRunner.cs @@ -2,6 +2,7 @@ using System.Diagnostics; using System.IO; using System.Threading; +using System.Xml; using System.Xml.Linq; using System.Xml.XPath; using NUnit.Framework; @@ -116,7 +117,7 @@ namespace NzbDrone.Test.Common } } } - catch (Exception ex) + catch (XmlException ex) { Console.WriteLine("Error getting API Key from XML file: " + ex.Message, ex); }