Skip to content

Fix structured logging in AuditsListHandler#735

Merged
ziagham merged 1 commit intoflowsynx:masterfrom
mohin-io:issue-725-structured-audit-logging
Nov 20, 2025
Merged

Fix structured logging in AuditsListHandler#735
ziagham merged 1 commit intoflowsynx:masterfrom
mohin-io:issue-725-structured-audit-logging

Conversation

@mohin-io
Copy link
Copy Markdown
Contributor

Summary

  • replace the raw ex.ToString() logging with LogError(Exception, message) so providers capture stack traces, scopes, and properties consistently with the rest of FlowSynx
  • keep the handler response contract intact while emitting a descriptive message about audit retrieval failures

Testing

  • dotnet test FlowSynx.sln

Closes #725.

@mohin-io mohin-io requested review from a team as code owners November 19, 2025 22:26
@sonarqubecloud
Copy link
Copy Markdown

@ziagham ziagham merged commit 04bf435 into flowsynx:master Nov 20, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bug: Exception is logged using ex.ToString() instead of structured exception logging in AuditsListHandler

2 participants