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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
5 additions and
2 deletions
-
sentry/__manifest__.py
-
sentry/logutils.py
|
@ -4,7 +4,7 @@ |
|
|
{ |
|
|
{ |
|
|
'name': 'Sentry', |
|
|
'name': 'Sentry', |
|
|
'summary': 'Report Odoo errors to Sentry', |
|
|
'summary': 'Report Odoo errors to Sentry', |
|
|
'version': '10.0.1.0.0', |
|
|
|
|
|
|
|
|
'version': '10.0.1.0.1', |
|
|
'category': 'Extra Tools', |
|
|
'category': 'Extra Tools', |
|
|
'website': 'https://odoo-community.org/', |
|
|
'website': 'https://odoo-community.org/', |
|
|
'author': 'Mohammed Barsi,' |
|
|
'author': 'Mohammed Barsi,' |
|
|
|
@ -101,6 +101,9 @@ class SanitizeOdooCookiesProcessor(SanitizePasswordsProcessor): |
|
|
Allows to sanitize sensitive Odoo cookies, namely the "session_id" cookie. |
|
|
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', |
|
|
'session_id', |
|
|
]) |
|
|
]) |