Skip to content

fix: out-of-scope variable in catch block#497

Merged
nborges-aws merged 1 commit into
mainfrom
fix/integ-workflow-failure-mode
May 28, 2026
Merged

fix: out-of-scope variable in catch block#497
nborges-aws merged 1 commit into
mainfrom
fix/integ-workflow-failure-mode

Conversation

@nborges-aws
Copy link
Copy Markdown
Contributor

Description of changes:
The collaborator check workflow will error out before completing execution when stepping into the catch block. This is caused by username being scoped inside the try-block, meaning it is not visible to the code inside the catch-block.

Simple fix to move username instantiation outside of the try.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@nborges-aws nborges-aws requested a review from a team May 28, 2026 15:42
@nborges-aws nborges-aws force-pushed the fix/integ-workflow-failure-mode branch from 2389683 to dc67347 Compare May 28, 2026 15:48
@nborges-aws nborges-aws merged commit 4054115 into main May 28, 2026
27 of 28 checks passed
@nborges-aws nborges-aws deleted the fix/integ-workflow-failure-mode branch May 28, 2026 16:02
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