Improve exceptions.
FossilOrigin-Name: 12b5ef483a1f9eae92df83cf8a6aded299ef10dd2972059a36c79d299e676a0d
This commit is contained in:
parent
16dc91b0e7
commit
25c48048a1
8 changed files with 50 additions and 61 deletions
|
@ -4,9 +4,7 @@
|
|||
- (OFString*)description
|
||||
{
|
||||
return [OFString stringWithFormat:
|
||||
@"Establishing a PostgreSQL connection in class %@ failed:\n%s\n"
|
||||
"Parameters: %@", [self inClass],
|
||||
PQerrorMessage([_connection PG_connection]),
|
||||
[_connection parameters]];
|
||||
@"Establishing a PostgreSQL connection failed:\n%@\n"
|
||||
"Parameters: %@", _error, [_connection parameters]];
|
||||
}
|
||||
@end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue