From 72ee4068bb726a25ec407c1c2ee1ed7b3052f263 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Thu, 26 Jan 2023 11:43:39 +0300 Subject: Cleanup logging --- vnext/server/middleware/oembed.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vnext/server') diff --git a/vnext/server/middleware/oembed.js b/vnext/server/middleware/oembed.js index ea53ca9c..4ac2d337 100644 --- a/vnext/server/middleware/oembed.js +++ b/vnext/server/middleware/oembed.js @@ -11,7 +11,7 @@ const oembed = async (req, res) => { res.send(result); res.end(); }).catch(err => { - console.log(`Err: ${err.response ? err.response.status : err.code}`); + console.log(`HTTP ${err.response ? err.response.status : err.code}: ${url}`); res.sendStatus(err.response ? err.response.status : 500); res.end(); }); -- cgit v1.2.3