@tuya-sat/micro-dev-proxy 3.1.1 → 3.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/dist/appProxy.js +2 -2
- package/package.json +1 -1
package/dist/appProxy.js
CHANGED
|
@@ -93,7 +93,7 @@ class AppProxy {
|
|
|
93
93
|
yield this.getLoginCookie();
|
|
94
94
|
}
|
|
95
95
|
catch (e) {
|
|
96
|
-
throw e
|
|
96
|
+
// throw e
|
|
97
97
|
}
|
|
98
98
|
finally {
|
|
99
99
|
this.spinnies.stopAll();
|
|
@@ -143,7 +143,7 @@ class AppProxy {
|
|
|
143
143
|
var _a, _b;
|
|
144
144
|
const errMsg = ((_a = err.response) === null || _a === void 0 ? void 0 : _a.data) ? JSON.stringify((_b = err.response) === null || _b === void 0 ? void 0 : _b.data) : err.message;
|
|
145
145
|
this.spinnies.fail('login', {
|
|
146
|
-
text: `${SPIN_LABEL_NAME.login}
|
|
146
|
+
text: `${SPIN_LABEL_NAME.login}失败,请手动登录\n\r ${errMsg}`
|
|
147
147
|
});
|
|
148
148
|
return Promise.reject(errMsg);
|
|
149
149
|
});
|