Returned error upon oembed catch
no issue
This commit is contained in:
parent
87bd26a4d6
commit
da237ca885
@ -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…
Reference in New Issue
Block a user