mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
Removed rogue debug code
This commit is contained in:
parent
ce0510f937
commit
dae6f0c4d8
1 changed files with 1 additions and 3 deletions
|
|
@ -363,9 +363,7 @@ class BaseView(RenderMixin):
|
||||||
SQL query took too long. The time limit is controlled by the
|
SQL query took too long. The time limit is controlled by the
|
||||||
<a href="https://datasette.readthedocs.io/en/stable/config.html#sql-time-limit-ms">sql_time_limit_ms</a>
|
<a href="https://datasette.readthedocs.io/en/stable/config.html#sql-time-limit-ms">sql_time_limit_ms</a>
|
||||||
configuration option.
|
configuration option.
|
||||||
|
""", title="SQL Interrupted", status=400, messagge_is_html=True)
|
||||||
{}
|
|
||||||
""".format(e), title="SQL Interrupted", status=400, messagge_is_html=True)
|
|
||||||
except (sqlite3.OperationalError, InvalidSql) as e:
|
except (sqlite3.OperationalError, InvalidSql) as e:
|
||||||
raise DatasetteError(str(e), title="Invalid SQL", status=400)
|
raise DatasetteError(str(e), title="Invalid SQL", status=400)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue