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
AttributeError: 'AnonymousUser' object has no attribute 'id'
File "raven/middleware.py", line 20, in common_exception_handling
yield
File "raven/middleware.py", line 100, in __call__
iterable = self.application(environ, start_response)
File "werkzeug/contrib/fixers.py", line 152, in __call__
return self.app(environ, start_response)
File "flask/app.py", line 2295, in wsgi_app
response = self.handle_exception(e)
File "flask_restful/__init__.py", line 273, in error_router
return original_handler(e)
File "flask/app.py", line 1741, in handle_exception
reraise(exc_type, exc_value, tb)
File "flask/_compat.py", line 34, in reraise
raise value.with_traceback(tb)
File "flask/app.py", line 2292, in wsgi_app
response = self.full_dispatch_request()
File "flask/app.py", line 1815, in full_dispatch_request
rv = self.handle_user_exception(e)
File "flask_restful/__init__.py", line 273, in error_router
return original_handler(e)
File "flask/app.py", line 1718, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "flask/_compat.py", line 34, in reraise
raise value.with_traceback(tb)
File "flask/app.py", line 1813, in full_dispatch_request
rv = self.dispatch_request()
File "flask/app.py", line 1799, in dispatch_request
return self.view_functions[rule.endpoint](**req.view_args)
File "flask_restful/__init__.py", line 480, in wrapper
resp = resource(*args, **kwargs)
File "flask/views.py", line 88, in view
return self.dispatch_request(*args, **kwargs)
File "flask_restful/__init__.py", line 595, in dispatch_request
resp = meth(*args, **kwargs)
File "flask_app/blueprints/rest.py", line 364, in delete
if comment.user_id != current_user.id:
File "werkzeug/local.py", line 347, in __getattr__
return getattr(self._get_current_object(), name)
The text was updated successfully, but these errors were encountered:
The text was updated successfully, but these errors were encountered: