kopia lustrzana https://github.com/simonw/datasette
Removed rogue debug code
rodzic
ce0510f937
commit
dae6f0c4d8
|
@ -363,9 +363,7 @@ class BaseView(RenderMixin):
|
|||
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>
|
||||
configuration option.
|
||||
|
||||
{}
|
||||
""".format(e), title="SQL Interrupted", status=400, messagge_is_html=True)
|
||||
""", title="SQL Interrupted", status=400, messagge_is_html=True)
|
||||
except (sqlite3.OperationalError, InvalidSql) as e:
|
||||
raise DatasetteError(str(e), title="Invalid SQL", status=400)
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue