config: catch FileNotFoundException and create config
This commit is contained in:
parent
14be68fef8
commit
337194538d
|
@ -73,6 +73,9 @@ namespace SparkleLib {
|
|||
} catch (IOException) {
|
||||
CreateInitialConfig ();
|
||||
|
||||
} catch (FileNotFoundException) {
|
||||
CreateInitialConfig ();
|
||||
|
||||
} catch (XmlException) {
|
||||
|
||||
FileInfo file = new FileInfo (FullPath);
|
||||
|
|
Loading…
Reference in a new issue