From f8479c53ffde3da4ba64addf28df447bdc94965a Mon Sep 17 00:00:00 2001 From: ibuler Date: Wed, 16 Oct 2024 18:50:53 +0800 Subject: [PATCH] perf: update passkey create --- src/utils/common.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/utils/common.js b/src/utils/common.js index 67c4bc8fb..5fdbfa3c6 100644 --- a/src/utils/common.js +++ b/src/utils/common.js @@ -128,6 +128,8 @@ export function getErrorResponseMsg(error) { }).filter(i => i).join('; ') } else if (typeof data === 'string') { return data + } else { + msg = error.toString() } return msg }