aboutsummaryrefslogtreecommitdiff
path: root/vnext
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2023-01-26 11:43:39 +0300
committerGravatar Vitaly Takmazov2023-01-26 11:43:39 +0300
commit72ee4068bb726a25ec407c1c2ee1ed7b3052f263 (patch)
tree67ffd7cf07479ff7541ab37b50c7271129ab0d0b /vnext
parentb82b2e4661f25fa6e81f2e5766f307cb7db1c15f (diff)
Cleanup logging
Diffstat (limited to 'vnext')
-rw-r--r--vnext/server/middleware/oembed.js2
1 files changed, 1 insertions, 1 deletions
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();
});