Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
use the now public errstr in one more place.
  • Loading branch information
timo committed Jan 30, 2014
1 parent 6e8b1c7 commit bf5de44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/DBDish/Pg.pm6
Expand Up @@ -358,7 +358,7 @@ class DBDish::Pg::Connection does DBDish::Connection {
my $status = PQresultStatus($result);
unless status-is-ok($status) {
self!set_errstr(PQresultErrorMessage($result));
die self!errstr if $.RaiseError;
die self.errstr if $.RaiseError;
return Nil;
}
my $info = PQdescribePrepared($!pg_conn, $statement_name);
Expand Down

0 comments on commit bf5de44

Please sign in to comment.