home / github / commits

Menu
  • Search all tables
  • GraphQL API

commits: d08faa89872d9ec8d3c8e76d85164ccd84596811

This data as json

sha message author_date committer_date raw_author raw_committer repo author committer
d08faa89872d9ec8d3c8e76d85164ccd84596811 Fix for weird nested exception in RequestTimeout I saw this error: sanic.exceptions.RequestTimeout: Request Timeout During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/simonw/Dropbox/Development/datasette/venv/lib/python3.6/site-packages/sanic/handlers.py", line 82, in response response = handler(request=request, exception=exception) File "/Users/simonw/Dropbox/Development/datasette/datasette/app.py", line 512, in on_exception if request.path.split("?")[0].endswith(".json"): AttributeError: 'NoneType' object has no attribute 'path' Strangely "if request and request.path..." did not work here, because the Sanic Request class extends builtins.dict and hence evaluates to False if it has no headers. 2018-06-29T12:52:51Z 2018-07-08T02:58:11Z 13ae486343ea6454a93114c6f558ffea2f2c6874 13ae486343ea6454a93114c6f558ffea2f2c6874 107914493 9599 9599
Powered by Datasette · Queries took 0.978ms · About: github-to-sqlite