mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-20 22:42:53 -05:00
Returned error upon oembed catch
no issue
This commit is contained in:
parent
87bd26a4d6
commit
da237ca885
1 changed files with 2 additions and 2 deletions
|
@ -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, {
|
||||
|
|
Loading…
Add table
Reference in a new issue