feat(errorHandler): added vm, key, type arguments

This commit is contained in:
Guillaume Chau
2019-10-20 15:03:12 +02:00
parent b7642cd2a5
commit aea6c938cb
+1 -1
View File
@@ -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