Skip to content

Conversation

@arcoraven
Copy link
Contributor

@arcoraven arcoraven commented Nov 5, 2024

PR-Codex overview

This PR focuses on improving the documentation of the simulateTx functionality and enhancing error handling in the sendWebhookWorker by adding logging capabilities.

Detailed summary

  • Updated the description of simulateTx in src/server/schemas/sharedApiSchemas.ts for clarity.
  • Added logger import in src/worker/tasks/sendWebhookWorker.ts.
  • Enhanced error handling by logging error messages when a 5xx status is received.
  • Removed the unused logWorkerExceptions import and its call.

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

concurrency: 10,
connection: redis,
});
logWorkerExceptions(_worker);
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removes line that dumps all failing webhooks to log

@arcoraven arcoraven merged commit b5582d9 into main Nov 5, 2024
5 checks passed
@arcoraven arcoraven deleted the ph/moreDebugLogs branch November 5, 2024 15:13
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.

3 participants