Skip to content

Commit

Permalink
Output stacktrace
Browse files Browse the repository at this point in the history
  • Loading branch information
credfeto committed Nov 20, 2020
1 parent f720705 commit ef9d297
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/Credfeto.ChangeLog.Cmd/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,11 @@ private static async Task<int> Main(string[] args)
{
Console.WriteLine($"ERROR: {exception.Message}");

if (exception.StackTrace != null)
{
Console.WriteLine(exception.StackTrace);
}

return ERROR;
}
}
Expand Down

0 comments on commit ef9d297

Please sign in to comment.