mirror of
https://codeberg.org/spire/webrcon.git
synced 2026-06-03 09:14:06 +02:00
Disable logging for every failed connection attempt
This commit is contained in:
parent
2d93c8e9ff
commit
afa21ff310
2 changed files with 1 additions and 2 deletions
|
|
@ -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"
|
||||||
|
|
|
||||||
|
|
@ -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();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue