Browse Source
If we catch these errors and resolve to the error itself, then `await` for that function resolves to the error value rather than throw. Because no api currently handles the associated errors, it is better to be noisy about these errors, by throwing rather than returning the error object.renovate/lint-staged-8.x
Ben Woosley
7 years ago
1 changed files with 3 additions and 9 deletions
Loading…
Reference in new issue