0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-03-11 02:12:21 -05:00

Removed Sentry logging from XMLRPC service

refs https://ghost-foundation.sentry.io/issues/5135326925/

- the service tends to 503 all the time, and we don't really care enough
  for it to ping us in Sentry, as it's not something we control
- we can still keep logging the errors in case we need to go and look at
  what went wrong
This commit is contained in:
Daniel Lockyer 2024-04-23 12:29:52 +02:00 committed by Daniel Lockyer
parent 197d510c9c
commit fda8aa5bfe

View file

@ -7,7 +7,6 @@ const tpl = require('@tryghost/tpl');
const logging = require('@tryghost/logging');
const request = require('@tryghost/request');
const settingsCache = require('../../shared/settings-cache');
const sentry = require('../../shared/sentry');
// Used to receive post.published model event
const events = require('../lib/common/events');
@ -110,7 +109,6 @@ function ping(post) {
});
}
logging.error(error);
sentry.captureException(error);
});
});
}