Merge pull request #1 from jpJuni0r/logging

Disable logging for every failed connection attempt
This commit is contained in:
Robin Appelman 2017-04-14 21:47:23 +02:00 committed by GitHub
commit 8ee6da1583
2 changed files with 1 additions and 2 deletions

View file

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

View file

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