diff --git a/client/next-dev.js b/client/next-dev.js index b25f4169..c5816fbd 100644 --- a/client/next-dev.js +++ b/client/next-dev.js @@ -42,8 +42,10 @@ ReactReconciler.mountComponent = function (...args) { try { return originalMountComponent(...args) } catch (err) { - next.renderError(err) - err.abort = true + if (!err.abort) { + next.renderError(err) + err.abort = true + } throw err } }