Skip to content

Convert .thens to async/awaits#1527

Merged
danlamanna merged 1 commit into
masterfrom
async-and-errs
Jun 11, 2026
Merged

Convert .thens to async/awaits#1527
danlamanna merged 1 commit into
masterfrom
async-and-errs

Conversation

@annehaley

Copy link
Copy Markdown
Contributor

In response to these comments on #1519: x, x, x.

This PR refactors all instances of .then as async/await functions with try/catch blocks for more consistent error handling. If an error is encountered, we send a generic alert to the user and rethrow the error so it can be captured by Sentry.

@brianhelba brianhelba removed their request for review June 11, 2026 15:05
@danlamanna

Copy link
Copy Markdown
Member

This LGTM, can you base it on master and then later rebase #1519 on top?

@annehaley annehaley changed the base branch from image-pin-sort to master June 11, 2026 17:47
@annehaley annehaley mentioned this pull request Jun 11, 2026
@danlamanna danlamanna merged commit 653eeca into master Jun 11, 2026
1 check passed
@danlamanna danlamanna deleted the async-and-errs branch June 11, 2026 18:56
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