Disable logging for every failed connection attempt

This commit is contained in:
Jan-Philipp Ottmüller 2017-04-14 21:46:22 +02:00
commit afa21ff310
2 changed files with 1 additions and 2 deletions

View file

@ -3,7 +3,7 @@
"description": "Create rcon connections using websockets", "description": "Create rcon connections using websockets",
"author": "Robin Appelman <robin@icewind.nl>", "author": "Robin Appelman <robin@icewind.nl>",
"license": "MIT", "license": "MIT",
"version": "0.2.1", "version": "0.2.2",
"main": "lib/rcon.js", "main": "lib/rcon.js",
"scripts": { "scripts": {
"build": "babel src --out-dir lib" "build": "babel src --out-dir lib"

View file

@ -56,7 +56,6 @@ export default class Connection {
return; return;
} }
this.errorCount++; this.errorCount++;
console.log('failed to connect');
this.delay(2500).then(() => { this.delay(2500).then(() => {
if (this.connectPromise) { if (this.connectPromise) {
this.rcon.connect(); this.rcon.connect();