Small change on console debug output

This commit is contained in:
Luc Didry 2015-10-11 13:00:44 +02:00 committed by Luc Didry
parent 1119e736e7
commit cc5f4d26d3
1 changed files with 1 additions and 1 deletions

View File

@ -382,7 +382,7 @@ function spawnWebsocket(i, callback) {
ws.onerror = function() {
console.log('error');
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);
}
}