From aea6c938cb720147546d0045b7a8400a72903a3a Mon Sep 17 00:00:00 2001 From: Guillaume Chau Date: Sun, 20 Oct 2019 15:03:12 +0200 Subject: [PATCH] feat(errorHandler): added vm, key, type arguments --- src/smart-apollo.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/smart-apollo.js b/src/smart-apollo.js index 8a192fa..0816e8d 100644 --- a/src/smart-apollo.js +++ b/src/smart-apollo.js @@ -171,7 +171,7 @@ export default class SmartApollo { catchError (error) { addGqlError(error) - const catched = this.errorHandler(error) + const catched = this.errorHandler(error, this.vm, this.key, this.type) if (catched) return