Skip to content

Commit 22f23eb

Browse files
authored
fix(ssr): reject serverPrefetch with error (#901)
1 parent 30c8de9 commit 22f23eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/vue-apollo/src/smart-query.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ export default class SmartQuery extends SmartApollo {
210210

211211
catchError (error) {
212212
super.catchError(error)
213-
this.firstRunReject()
213+
this.firstRunReject(error)
214214
this.loadingDone(error)
215215
this.nextResult(this.observer.getCurrentResult ? this.observer.getCurrentResult() : this.observer.currentResult())
216216
// The observable closes the sub if an error occurs

0 commit comments

Comments
 (0)