mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-03-12 05:44:06 +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}))
|
.compile(conn.sync_engine, compile_kwargs={"literal_binds": True}))
|
||||||
except sa.exc.CompileError:
|
except sa.exc.CompileError:
|
||||||
pass
|
pass
|
||||||
|
except NotImplementedError:
|
||||||
|
pass
|
||||||
|
|
||||||
return str(cast('sa.ClauseElement', statement).compile(conn.sync_engine))
|
return str(cast('sa.ClauseElement', statement).compile(conn.sync_engine))
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user