diff --git a/raven/handlers/logbook.py b/raven/handlers/logbook.py index 8a5280066..29112a27b 100644 --- a/raven/handlers/logbook.py +++ b/raven/handlers/logbook.py @@ -64,7 +64,8 @@ def _emit(self, record): event_type = 'raven.events.Message' handler_kwargs = {'message': record.msg, 'params': record.args} - + if 'tags' in record.kwargs: + handler_kwargs['tags'] = record.kwargs['tags'] # If there's no exception being processed, exc_info may be a 3-tuple of None # http://docs.python.org/library/sys.html#sys.exc_info if record.exc_info is True or (record.exc_info and all(record.exc_info)):