@magpie-community/opencode-mimo-auth 0.1.1 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.mjs +2 -2
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -493,8 +493,8 @@ export const MimoAuthPlugin = async ({ client }) => {
|
|
|
493
493
|
const p = await waitPoll(t)
|
|
494
494
|
const { creds, cookies } = await signedInWith(p, t.device)
|
|
495
495
|
return { ...toAuth(creds, cookies, Date.now()), type: "success" }
|
|
496
|
-
} catch {
|
|
497
|
-
return { type: "failed" }
|
|
496
|
+
} catch (e) {
|
|
497
|
+
return { type: "failed", error: e.message }
|
|
498
498
|
}
|
|
499
499
|
},
|
|
500
500
|
}
|
package/package.json
CHANGED