Skip to content

Commit

Permalink
add InnerExecption StackTrace
Browse files Browse the repository at this point in the history
  • Loading branch information
qdraw committed Feb 18, 2024
1 parent e3210c0 commit de67e79
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,8 @@ await timer.WaitForNextTickAsync(cancellationToken) )
{
_logger.LogError(
$"Failed to execute {nameof(PeriodicThumbnailScanHostedService)} " +
$"with exception message {exception.Message} {exception.StackTrace}", exception);
$"with exception message {exception.Message} - {exception.StackTrace} - " +
$"{exception.InnerException?.StackTrace}", exception);
}

return null;
Expand Down

0 comments on commit de67e79

Please sign in to comment.