mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-23 03:42:27 +03:00
Removed Sentry from oembed service
- I'm not sure if we gain anything here except noise - it was added after a bug in the oembed service but it was regarding oembed-parser and not metascraper
This commit is contained in:
parent
577b30c4f6
commit
dfbe8ee296
@ -1,7 +1,6 @@
|
||||
const errors = require('@tryghost/errors');
|
||||
const tpl = require('@tryghost/tpl');
|
||||
const logging = require('@tryghost/logging');
|
||||
const sentry = require('../../shared/sentry');
|
||||
const {extract, hasProvider} = require('oembed-parser');
|
||||
const cheerio = require('cheerio');
|
||||
const _ = require('lodash');
|
||||
@ -134,7 +133,6 @@ class OEmbed {
|
||||
scraperResponse = await metascraper({html, url});
|
||||
} catch (err) {
|
||||
// Log to avoid being blind to errors happenning in metascraper
|
||||
sentry.captureException(err);
|
||||
logging.error(err);
|
||||
return this.unknownProvider(url);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user