From 84852d22ebf583f3412519474edfd1dd44ceb602 Mon Sep 17 00:00:00 2001 From: goat <16760685+goaaats@users.noreply.github.com> Date: Wed, 26 May 2021 17:13:18 +0200 Subject: [PATCH] Log errors correctly --- index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/index.js b/index.js index f93517e..088bb39 100644 --- a/index.js +++ b/index.js @@ -42,6 +42,7 @@ app.get('/characters/id/:charaId.png', async (req, res) => { { ttl: ttl }, function (err, result) { if (err !== null) { + console.error(err); res.status(500).send("Lodestone did not respond in time."); return; }