Skip to content

Conversation

@mazhelez
Copy link
Collaborator

@mazhelez mazhelez commented Feb 2, 2026

  • Improved error handling in the WaitWorkflow function by adding an else block to ensure an error is thrown when the rerun condition is not met and $noError is not present.

@mazhelez mazhelez requested a review from a team as a code owner February 2, 2026 10:03
Copilot AI review requested due to automatic review settings February 2, 2026 10:03
@mazhelez mazhelez enabled auto-merge (squash) February 2, 2026 10:03
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR fixes a bug in the WaitWorkflow function's error handling logic by adding an else block to ensure errors are only thrown when appropriate.

Changes:

  • Added an else block in the WaitWorkflow function to prevent throwing an error after a workflow rerun is initiated

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@mazhelez mazhelez merged commit 4847b79 into main Feb 3, 2026
8 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.

4 participants