You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sorry, don't have to to do a proper pull-request, because my fix would break exiting Django < 1.10 support or would require to vendor compatibility shims. Which is cumbersome given there is no Django tox matrix to test against.
TypeError: 'bool' object is not callable
File "opbeat/handlers/logging.py", line 56, in emit
return self._emit(record)
File "opbeat/contrib/django/handlers.py", line 37, in _emit
return super(OpbeatHandler, self)._emit(record, request=request)
File "opbeat/handlers/logging.py", line 135, in _emit
date=date, **kwargs)
File "opbeat/contrib/django/client.py", line 165, in capture
data.update(self.get_data_from_request(request))
File "opbeat/contrib/django/client.py", line 153, in get_data_from_request
result['user'] = self.get_user_info(request)
File "opbeat/contrib/django/client.py", line 68, in get_user_info
if request.user.is_authenticated():
See: MyBook#1
Sorry, don't have to to do a proper pull-request, because my fix would break exiting Django < 1.10 support or would require to vendor compatibility shims. Which is cumbersome given there is no Django tox matrix to test against.