Skip to content

Commit 19808ce

Browse files
committed
Handle exception when authentication is rejected by the user
1 parent 073cbc6 commit 19808ce

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ studio.protocol = (function(ProtoBuf) {
168168
.catch(function(err) {
169169
console.error(err);
170170
});
171-
});
171+
}).catch(function(){ console.log("Authentication cancelled") });
172172
}.bind(this);
173173

174174
this.handle = function(message){

0 commit comments

Comments
 (0)