From 06b54e48b23d8ca47a38fe524ec572ede0ea6c29 Mon Sep 17 00:00:00 2001 From: Cadence Fish Date: Wed, 29 Jan 2020 23:36:16 +1300 Subject: [PATCH] String OUT URLs before logging --- src/lib/utils/request.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/utils/request.js b/src/lib/utils/request.js index a9801fe..e7ce324 100644 --- a/src/lib/utils/request.js +++ b/src/lib/utils/request.js @@ -1,7 +1,7 @@ const fetch = require("node-fetch").default function request(url) { - console.log("-> [OUT]", url) // todo: make more like pinski? + console.log("-> [OUT]", String(url)) // todo: make more like pinski? return fetch(url, { headers: { "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.169 Safari/537.36"