+ reset head
This commit is contained in:
parent
a95d6938ad
commit
6638423104
1 changed files with 2 additions and 2 deletions
|
@ -89,10 +89,10 @@ class Connection
|
|||
std::string msg = PQerrorMessage( conn_ );
|
||||
if ( ! msg.empty() )
|
||||
{
|
||||
s << ":" << std::endl << msg.substr( 0, msg.size() - 1 );
|
||||
s << ":\n" << msg.substr( 0, msg.size() - 1 );
|
||||
}
|
||||
|
||||
s << std::endl << "Full sql was: '" + sql + "'" << std::endl;
|
||||
s << "\nFull sql was: '" << sql << "'\n";
|
||||
}
|
||||
throw mapnik::datasource_exception( s.str() );
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue