Skip to content

Commit

Permalink
Merge pull request #1259 from apollographql/calebmer-patch-2
Browse files Browse the repository at this point in the history
End flow after promise rejection
  • Loading branch information
helfer authored Feb 4, 2017
2 parents 931a536 + 64eed17 commit 7542f4d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ Expect active development and potentially significant breaking changes in the `0
### vNEXT
- Removed dependency on Node.js typings. [PR #1248](https://github.com/apollostack/apollo-client/pull/1248)
- Remove orphaned promise that was causing a Bluebird error. [PR #1256](https://github.com/apollographql/apollo-client/pull/1256)
- End code flow on promise rejection in `mutate` implementation. [PR #1259](https://github.com/apollographql/apollo-client/pull/1259)
- ...

### 0.8.1
Expand Down
1 change: 1 addition & 0 deletions src/core/QueryManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -276,6 +276,7 @@ export class QueryManager {
reject(new ApolloError({
graphQLErrors: result.errors,
}));
return;
}

this.store.dispatch({
Expand Down

0 comments on commit 7542f4d

Please sign in to comment.