Skip to content

Commit

Permalink
log inner exception
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesgriff committed Jan 17, 2025
1 parent 7229cae commit f1f041b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion GenderPayGap.WebUI/Controllers/HealthCheckController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ private void CheckFileConnection()
}
catch (Exception e)
{
throw new Exception($"Could not read or write a file: {e.Message}");
throw new Exception($"Could not read or write a file: {e.Message}", e);
}
}

Expand Down

0 comments on commit f1f041b

Please sign in to comment.