Cleaned references and imports
This commit is contained in:
@@ -1,8 +1,4 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Xml;
|
||||
|
||||
namespace PWAPPv2.Source
|
||||
@@ -21,12 +17,12 @@ namespace PWAPPv2.Source
|
||||
{
|
||||
cfgDoc.Load(path);
|
||||
}
|
||||
catch(XmlException)
|
||||
catch (XmlException)
|
||||
{
|
||||
Console.WriteLine("An error has occured parsing the config file.");
|
||||
return;
|
||||
}
|
||||
catch(System.IO.FileNotFoundException)
|
||||
catch (System.IO.FileNotFoundException)
|
||||
{
|
||||
Console.WriteLine("Config file could not be found!");
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user