home / github / issue_comments

Menu
  • GraphQL API

issue_comments: 1563522011

This data as json

html_url issue_url id node_id user created_at updated_at author_association body reactions issue performed_via_github_app
https://github.com/simonw/datasette/issues/2078#issuecomment-1563522011 https://api.github.com/repos/simonw/datasette/issues/2078 1563522011 IC_kwDOBm6k_c5dMXPb 9599 2023-05-25T21:22:30Z 2023-05-25T21:22:30Z OWNER This is bad: ```python async def __call__(self, request, datasette): try: handler = getattr(self, request.method.lower()) return await handler(request, datasette) except AttributeError: return await self.method_not_allowed(request) ``` Because it hides any `AttributeError` exceptions that might occur in the view code. {"total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} 1726236847  
Powered by Datasette · Queries took 1.156ms