From 8937b5d10cf7f751b89e48124a4bfc8731ae744d Mon Sep 17 00:00:00 2001 From: bignutty <3515180-bignutty@users.noreply.gitlab.com> Date: Sat, 18 May 2024 09:45:52 +0200 Subject: [PATCH] fix logging issue --- labscore/logging.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/labscore/logging.js b/labscore/logging.js index 4c9d9f8..8852d22 100644 --- a/labscore/logging.js +++ b/labscore/logging.js @@ -27,7 +27,7 @@ module.exports.maintower = async function (packages, type){ module.exports.basecamp = async function (log, content = ""){ // This begins the list of errors that i simply cannot fix. thank you discord. - if(content.includes(`"code": 200000`)) return; + if(content?.includes(`"code": 200000`)) return; try{ let res = await superagent.post(MAINTOWER_BASE_URL + 'basecamp') .set({