Skip to content

Commit 5ffb65a

Browse files
committed
style: fix few stylings
1 parent 6ebbe64 commit 5ffb65a

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/store.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -162,18 +162,18 @@ export class Store {
162162
}
163163
}
164164
resolve(res)
165-
}, e => {
165+
}, error => {
166166
try {
167167
this._actionSubscribers
168168
.filter(sub => sub.error)
169-
.forEach(sub => sub.error(action, this.state, e))
170-
} catch (_e) {
169+
.forEach(sub => sub.error(action, this.state, error))
170+
} catch (e) {
171171
if (__DEV__) {
172172
console.warn(`[vuex] error in error action subscribers: `)
173-
console.error(_e)
173+
console.error(e)
174174
}
175175
}
176-
reject(e)
176+
reject(error)
177177
})
178178
})
179179
}

0 commit comments

Comments
 (0)