Browse Source

Merge pull request #1117 from versada/bugfix/10.0/fix-sentry-tests

[10.0][FIX] sentry: fix tests after raven 6.4.0
pull/1109/head
Dave Lasley 7 years ago
committed by GitHub
parent
commit
3e2546f65d
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      sentry/__manifest__.py
  2. 5
      sentry/logutils.py

2
sentry/__manifest__.py

@ -4,7 +4,7 @@
{
'name': 'Sentry',
'summary': 'Report Odoo errors to Sentry',
'version': '10.0.1.0.0',
'version': '10.0.1.0.1',
'category': 'Extra Tools',
'website': 'https://odoo-community.org/',
'author': 'Mohammed Barsi,'

5
sentry/logutils.py

@ -101,6 +101,9 @@ class SanitizeOdooCookiesProcessor(SanitizePasswordsProcessor):
Allows to sanitize sensitive Odoo cookies, namely the "session_id" cookie.
'''
FIELDS = frozenset([
# `FIELDS` was renamed to `KEYS` in raven 6.4.0.
# Keep `FIELDS` for backwards compatibility.
# See also issue #1096 on OCA/server-tools.
KEYS = FIELDS = frozenset([
'session_id',
])
Loading…
Cancel
Save