diff --git a/core/server/api/canary/oembed.js b/core/server/api/canary/oembed.js index 2397ae4297..913291627a 100644 --- a/core/server/api/canary/oembed.js +++ b/core/server/api/canary/oembed.js @@ -29,8 +29,8 @@ async function fetchBookmarkData(url, html) { html = response.body; } scraperResponse = await metascraper({html, url}); - } catch (e) { - return Promise.reject(); + } catch (err) { + return Promise.reject(err); } const metadata = Object.assign({}, scraperResponse, {