mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-02-16 05:18:00 +00:00
ignore NotImplementedErrors when compiling SQL
This commit is contained in:
@@ -68,6 +68,8 @@ class BaseLogger:
|
||||
.compile(conn.sync_engine, compile_kwargs={"literal_binds": True}))
|
||||
except sa.exc.CompileError:
|
||||
pass
|
||||
except NotImplementedError:
|
||||
pass
|
||||
|
||||
return str(cast('sa.ClauseElement', statement).compile(conn.sync_engine))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user