From 4d3110c0080e1ef374b264a7a24522dd2aac3c53 Mon Sep 17 00:00:00 2001 From: schneefux Date: Sat, 24 Jun 2017 16:45:16 +0200 Subject: remove useless debug statements --- server.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'server.js') diff --git a/server.js b/server.js index 9750f76..5db90d6 100644 --- a/server.js +++ b/server.js @@ -159,7 +159,6 @@ function analyzeQueueForCategory(category) { // API requires maximum time interval of 4w // return [payload, payload, …] with fixed createdAt function splitGrabs(payload, start, end) { - console.log(payload, start, end); let part_start = start, part_end = start, payloads = []; @@ -578,7 +577,7 @@ async function setKey(db, config, key, value) { app.post("/api/match/:region/update", async (req, res) => { const region = req.params.region; if (TOURNAMENT_REGIONS.indexOf(region) == -1) { - console.error("called with unsupported region", { region: region }); + logger.error("called with unsupported region", { region: region }); res.sendStatus(404); return; } -- cgit v1.3.1