append connection string to connection error message

This commit is contained in:
Artem Pavlenko 2012-01-24 12:36:33 +00:00
parent e7fdf1fa51
commit 19deb86591

View file

@ -70,6 +70,7 @@ public:
{
s << "unable to connect to postgres server";
}
s << "\n" << connection_str;
throw mapnik::datasource_exception( s.str() );
}
}