mirror of
https://github.com/a-sync/game-server-watcher.git
synced 2026-07-22 05:41:43 -04:00
less verbose gamedig debug
This commit is contained in:
2
dist/game-server.js
vendored
2
dist/game-server.js
vendored
@@ -43,7 +43,7 @@ class GameServer {
|
||||
console.log('gs.up', this.config.host, this.config.port);
|
||||
let info = await this.gamedig();
|
||||
if (DBG)
|
||||
console.log('gs.gamedig', info);
|
||||
console.log('gs.gamedig', Object.assign({}, info, { players: undefined }));
|
||||
if (!info && STEAM_WEB_API_KEY && this.config.appId) {
|
||||
info = await this.steam();
|
||||
if (DBG)
|
||||
|
||||
@@ -67,7 +67,7 @@ export class GameServer {
|
||||
if (DBG) console.log('gs.up', this.config.host, this.config.port);
|
||||
let info = await this.gamedig();
|
||||
|
||||
if (DBG) console.log('gs.gamedig', info);
|
||||
if (DBG) console.log('gs.gamedig', Object.assign({}, info, { players: undefined }));
|
||||
if (!info && STEAM_WEB_API_KEY && this.config.appId) {
|
||||
info = await this.steam();
|
||||
if (DBG) console.log('gs.steam', info);
|
||||
|
||||
Reference in New Issue
Block a user