Skip to content

adopt to web platform specifier - #182072

Merged
Sandeep Somavarapu (sandy081) merged 1 commit into
mainfrom
sandy081/fix180525
May 10, 2023
Merged

Sandeep Somavarapu (sandy081) merged 1 commit into
mainfrom
sandy081/fix180525

Conversation

@sandy081

Copy link
Copy Markdown
Member

#180525 adopt to web platform specifier

@sandy081
Sandeep Somavarapu (sandy081) marked this pull request as ready for review May 10, 2023 16:24
@sandy081
Sandeep Somavarapu (sandy081) deleted the sandy081/fix180525 branch May 10, 2023 16:37
}
return webExtension;
}));
if (update) {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

What if one of the web extension promises throws? That means we will never reach this code. Should there be some sort of finally handling here?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

There is a try/catch for each promise to log the error.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

You're right! I missed that.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants