Sentry logger for OpenERP (v5 legacy)
- Generate Sentry DSN
- Add the keyword
sentry_dsn
in your openerp server config file - Install dependencies `pip install -r reqs.txt
- Install sentry module in the OpenERP
- Enjoy it!
- All uncaught exceptions will be processed with Sentry logger.
osv.except_osv
exceptions won't be processed`.- You can use raven client from your OpenERP instance.
def create(self, cursor, uid, vals, context=None)
client = self.pool.get('sentry.setup').client
client.captureMessage('Hello world!')
You can see all the documentation for raven here: http://raven.readthedocs.org