From d41f9f2373f72d202ab174b773b2eebde1a79b55 Mon Sep 17 00:00:00 2001 From: Denys Kuchma Date: Fri, 9 Jan 2026 17:10:20 +0200 Subject: [PATCH] Fix chaining cycle detected for promise error in Auth plugin --- lib/plugin/auth.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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(() => {