Skip to content

Commit a28b248

Browse files
author
bo.yang
committed
update
1 parent 4e3fd47 commit a28b248

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

lib/holdcloud.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,6 @@ HoldCloud.prototype.updateToken = async function () {
5151
username: this.username,
5252
password: crypto.createHash('md5').update(this.password, 'utf8').digest('hex'),
5353
},
54-
}).catch((error) => {
55-
throw error;
5654
});
5755
this.token = result.jweToken;
5856
return result.jweToken;

0 commit comments

Comments
 (0)