Skip to content
This repository was archived by the owner on Nov 15, 2021. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions main/OpenCover.Console/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,8 @@ static int Main(string[] args)
}
catch (Exception ex)
{
Logger.Fatal("Main catch (Exception ex)");
Logger.FatalFormat("An exception occured: {0}", ex.Message);
Logger.Fatal("At: Program.Main");
Logger.FatalFormat("An {0} occured: {1}", ex.GetType(), ex.Message);
Logger.FatalFormat("stack: {0}", ex.StackTrace);
Logger.FatalFormat("A report has been sent to the OpenCover development team...");

Expand All @@ -88,8 +88,8 @@ static int Main(string[] args)
private static void CurrentDomainOnUnhandledException(object sender, UnhandledExceptionEventArgs unhandledExceptionEventArgs)
{
var ex = (Exception)unhandledExceptionEventArgs.ExceptionObject;
Logger.Fatal("CurrentDomainOnUnhandledException");
Logger.FatalFormat("An exception occured: {0}", ex.Message);
Logger.Fatal("At: CurrentDomainOnUnhandledException");
Logger.FatalFormat("An {0} occured: {1}", ex.GetType(), ex.Message);
Logger.FatalFormat("stack: {0}", ex.StackTrace);
Logger.FatalFormat("A report has been sent to the OpenCover development team...");

Expand Down