diff --git a/lib/plugin/auth.js b/lib/plugin/auth.js index 9c0ade07c..a5e39d183 100644 --- a/lib/plugin/auth.js +++ b/lib/plugin/auth.js @@ -350,7 +350,8 @@ export default function (config) { recorder.session.restore('auto login') recorder.session.restore('check login') section.end() - recorder.throw(err) + // Use regular throw instead of recorder.throw to avoid promise chaining cycle + throw err }) }) recorder.add(() => {