Skip to content

Commit

Permalink
Fix handling of non-offline errors (#6968)
Browse files Browse the repository at this point in the history
* Fix handling of non-offline errors

* Update CHANGELOG.md
  • Loading branch information
Chih-Hsuan Yen authored and arcanis committed Jan 30, 2019
1 parent a640f49 commit af91e7c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Expand Up @@ -4,6 +4,10 @@ Please add one entry in this file for each change in Yarn's behavior. Use the sa

## Master

- Fixes the error reporting for non-HTTP network errors (such as invalid certificates)

[#6968](https://github.com/yarnpkg/yarn/pull/6968) - [**Chih-Hsuan Yen**](https://github.com/yan12125)

- Changes the location where the `--require ./.pnp.js` flag gets added into `NODE_OPTIONS`: now at the front (bis)

[#6951](https://github.com/yarnpkg/yarn/pull/6951) - [**John-David Dalton**](https://twitter.com/jdalton)
Expand Down
2 changes: 2 additions & 0 deletions src/util/request-manager.js
Expand Up @@ -401,6 +401,8 @@ export default class RequestManager {
if (!queueForRetry(this.reporter.lang('offlineRetrying'))) {
reject(err);
}
} else {
reject(err);
}
};

Expand Down

0 comments on commit af91e7c

Please sign in to comment.