diff --git a/plugins/input/postgis/connection.hpp b/plugins/input/postgis/connection.hpp index 373452a2a..b219f287e 100644 --- a/plugins/input/postgis/connection.hpp +++ b/plugins/input/postgis/connection.hpp @@ -88,6 +88,8 @@ class Connection { s += ":\n" + msg.substr( 0, msg.size() - 1 ); } + + s += "\nFull sql was: '" + sql + "'\n"; } throw mapnik::datasource_exception( s ); }