Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
When using the `.then($1, $2)` function, any errors thrown from `$1` will *not* be delegated to `$2`. Changing to `.then($1).catch($2)` makes sure that even errors from `$1` gets delegated to `$2`. Found by this proposed standard rule: standard/eslint-config-standard#129
- Loading branch information