Fix showing console error when settings directory cannot be created

This commit is contained in:
unknown 2015-07-18 19:02:29 -06:00
parent 1a52731cd2
commit f16ebe06df
1 changed files with 2 additions and 2 deletions

View File

@ -50,7 +50,8 @@ namespace Jackett
}
catch (Exception ex)
{
MessageBox.Show("Could not create settings directory. " + ex.Message);
Console.WriteLine("Missing settings directory: " + AppConfigDirectory);
Console.WriteLine("Could not create settings directory. " + ex.Message);
Application.Exit();
return;
}
@ -122,7 +123,6 @@ namespace Jackett
public static void RestartServer()
{
ServerInstance.Stop();
ServerInstance = null;
var serverTask = Task.Run(async () =>