Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve Interrupted status messages #528

Open
sabbyanandan opened this issue Mar 18, 2024 · 4 comments
Open

Improve Interrupted status messages #528

sabbyanandan opened this issue Mar 18, 2024 · 4 comments
Labels
enhancement New feature or request

Comments

@sabbyanandan
Copy link

Context:

need to see a log feed of webhook calls to see which one failed so one can act upon it.

Similar to the line item at #324 (comment), it'd be helpful for developers to know what is the cause/reason for the failure in its raw log format, including the timestamp.

Additionally, today, we show high-level information when the developer hovers over, but when we have the raw log content, we can revisit the display of it from the DX perspective.

@sabbyanandan sabbyanandan added the enhancement New feature or request label Mar 18, 2024
@MicaiahReid
Copy link
Contributor

To flesh this out some more, I think the steps would be:

  • Improve Interrupted status messages to be clear and actionable.
  • Consider adding more raw error data to the status, maybe in another field on the below object
  • Add context fields to erroring chainhooks:
{
  "error_msg": "...",
  "error_timestamp": "...",
  "last_evaluated_block_height": "...",
  "number_of_blocks_evaluated": "...",
  "number_of_times_triggered": "...",
  "last_occurrence": "..."
}

@MicaiahReid
Copy link
Contributor

@sabbyanandan It may be helpful to release some sort of FAQ or doc for the users on how to resolve or act upon some the more common errors.

@smcclellan smcclellan changed the title Support access to the log feed of Chainhook calls upon failure Improve Interrupted status messages May 29, 2024
@smcclellan
Copy link
Contributor

@MicaiahReid to fill in details for implementation.

@MicaiahReid
Copy link
Contributor

I think the details I provided here should cover it! #528 (comment)

@MicaiahReid MicaiahReid removed their assignment Jun 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: 📋 Backlog
Development

No branches or pull requests

3 participants