|
|
@@ -1,4 +1,4 @@
|
|
|
-import { handleError, ErrorCodes } from './errorHandling'
|
|
|
+import { ErrorCodes, callWithErrorHandling } from './errorHandling'
|
|
|
import { isArray } from '@vue/shared'
|
|
|
|
|
|
const queue: Function[] = []
|
|
|
@@ -71,11 +71,7 @@ function flushJobs(seenJobs?: JobCountMap) {
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
- try {
|
|
|
- job()
|
|
|
- } catch (err) {
|
|
|
- handleError(err, null, ErrorCodes.SCHEDULER)
|
|
|
- }
|
|
|
+ callWithErrorHandling(job, null, ErrorCodes.SCHEDULER)
|
|
|
}
|
|
|
flushPostFlushCbs()
|
|
|
isFlushing = false
|