Add log statement when opening provisioning socket

Make it more obvious via logs which server someone is attempting to
register with (i.e., to disambiguate staging from prod).

// FREEBIE
This commit is contained in:
lilia 2016-02-29 04:55:51 -08:00
parent 9ea9a8160b
commit 5f07c74f1a
2 changed files with 2 additions and 0 deletions

View file

@ -36640,6 +36640,7 @@ var TextSecureServer = (function() {
);
},
getProvisioningSocket: function () {
console.log('opening provisioning socket', this.url);
return new WebSocket(
this.url.replace('https://', 'wss://')
.replace('http://', 'ws://')

View file

@ -359,6 +359,7 @@ var TextSecureServer = (function() {
);
},
getProvisioningSocket: function () {
console.log('opening provisioning socket', this.url);
return new WebSocket(
this.url.replace('https://', 'wss://')
.replace('http://', 'ws://')