Small change on console debug output
This commit is contained in:
parent
1119e736e7
commit
cc5f4d26d3
|
@ -382,7 +382,7 @@ function spawnWebsocket(i, callback) {
|
||||||
ws.onerror = function() {
|
ws.onerror = function() {
|
||||||
console.log('error');
|
console.log('error');
|
||||||
if (i < 5 && callback !== undefined) {
|
if (i < 5 && callback !== undefined) {
|
||||||
console.log('Retrying to send file '+i);
|
console.log('Retrying to send file (try '+i+' of 5)');
|
||||||
window.ws = spawnWebsocket(i + 1, callback);
|
window.ws = spawnWebsocket(i + 1, callback);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue