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

Reviewed the Engine API calls for missing error handling #4004

Merged
merged 1 commit into from
Aug 20, 2022

Conversation

zah
Copy link
Contributor

@zah zah commented Aug 19, 2022

No description provided.

@zah zah force-pushed the more-engine-api-error-handling branch from 63eefd4 to 39cc47c Compare August 19, 2022 21:30
warn "Getting execution payload from Engine API timed out", payload_id
empty_execution_payload
except CatchableError as err:
warn "Getting execution payload from Engine API failed",
Copy link
Contributor

Choose a reason for hiding this comment

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

Why is one error and one warn?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

My reasoning was that we have a recovery path in this case (the empty payload), but I agree that's quite debatable.

@github-actions
Copy link

Unit Test Results

       12 files  ±0       860 suites  ±0   1h 14m 0s ⏱️ - 1m 57s
  1 987 tests ±0    1 840 ✔️ ±0  147 💤 ±0  0 ±0 
10 682 runs  ±0  10 492 ✔️ ±0  190 💤 ±0  0 ±0 

Results for commit 39cc47c. ± Comparison against base commit f537f26.

@zah zah merged commit 09de83a into unstable Aug 20, 2022
@zah zah deleted the more-engine-api-error-handling branch August 20, 2022 06:09
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