posit-dev / publisher

MIT License
3 stars 0 forks source link

fix: handle AggregateError on startup #1805

Closed tdstein closed 1 month ago

tdstein commented 1 month ago

Intent

Adds logic to handle AggregateError, which was introduced in ES2021.

Type of Change

Approach

Adds additional logic to error catching that handles AggregateError. If true, then check each underlying error for a sentinel message.

Automated Tests

Directions for Reviewers

Try in new and old VSCode.

Checklist

sagerb commented 1 month ago

Code as written is verified! Thank you so much!