Skip to content

Commit

Permalink
add stacktrace to exception log line
Browse files Browse the repository at this point in the history
  • Loading branch information
nkan-aot2 authored May 3, 2024
1 parent ba8f61c commit 4344049
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ static async System.Threading.Tasks.Task Main(string[] args)
}
catch (Exception ex)
{
var errorMessage = $" Error happpened while converting {message["s3filepath"]}. Exception message : {ex.Message}";
var errorMessage = $" Error happpened while converting {message["s3filepath"]}. Exception message : {ex.Message}, StackTrace :{ex.StackTrace}";
Console.WriteLine(errorMessage);
await dbhandler.recordJobEnd(message, true, errorMessage, new List<Dictionary<string, String>>());
}
Expand Down

0 comments on commit 4344049

Please sign in to comment.