Skip to content
This repository was archived by the owner on Nov 18, 2024. It is now read-only.

Commit 2f52726

Browse files
authored
Merge pull request #6 from gisce/fix_msgpack_with_sentry
Inherit from OpenERPDispatcherException as msgpack can work with Sentry
2 parents d98edd2 + 6ee1293 commit 2f52726

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sentry/sentry.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ def log(msg, level=netsvc.LOG_INFO):
1515
logger.notifyChannel('sentry', netsvc.LOG_INFO, msg)
1616

1717

18-
class SentyDispatcherException(Exception):
18+
class SentyDispatcherException(netsvc.OpenERPDispatcherException):
1919
def __init__(self, exception, traceback):
2020
# Ugly hack to know wich type of exception it is.
2121
# From client code: bin/rpc.py L:46

0 commit comments

Comments
 (0)