added ExceptronIgnoreOnMono and ExceptronIgnore extention methods.

This commit is contained in:
Keivan Beigi
2014-10-03 10:39:06 -07:00
parent 02fab62811
commit 7b2e3ef0c4
26 changed files with 90 additions and 253 deletions
+4 -3
View File
@@ -25,12 +25,13 @@ namespace NzbDrone.Console
Logger.FatalException("EPIC FAIL!", e);
System.Console.WriteLine("Press any key to exit...");
System.Console.ReadLine();
//Need this to terminate on mono (thanks nlog)
LogManager.Configuration = null;
}
Logger.Info("Exiting main.");
//Need this to terminate on mono (thanks nlog)
LogManager.Configuration = null;
Environment.Exit(0);
}
}
}