Skip to content

Fix duplicate error logging#11

Merged
Toti330 merged 1 commit into
mainfrom
agent/fix-error-return-double-logging
Jul 12, 2026
Merged

Fix duplicate error logging#11
Toti330 merged 1 commit into
mainfrom
agent/fix-error-return-double-logging

Conversation

@Toti330

@Toti330 Toti330 commented Jul 12, 2026

Copy link
Copy Markdown
Collaborator

What changed

Removed logging from error_return!; the macro now only returns the constructed error.

Why

main() already logs errors returned by run(), so logging inside error_return! printed the same failure twice.

Validation

  • git diff --check
  • Rust tests were not run because cargo is unavailable in the execution environment.

@Toti330
Toti330 marked this pull request as ready for review July 12, 2026 19:11
@Toti330
Toti330 merged commit 6a3826b into main Jul 12, 2026
1 check passed
@Toti330
Toti330 deleted the agent/fix-error-return-double-logging branch July 12, 2026 19:12
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.

2 participants