Removed rogue debug code

facet-refactor
Simon Willison 2019-04-18 07:53:47 -07:00
rodzic ce0510f937
commit dae6f0c4d8
1 zmienionych plików z 1 dodań i 3 usunięć

Wyświetl plik

@ -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)