Skip to content

Commit c90e067

Browse files
committed
Merge remote-tracking branch 'origin/master'
# Conflicts: # lib/PHPDO.php
2 parents f34cfa6 + 56cc1cc commit c90e067

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/PHPDO.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ public function prepare(string $query, array $mapping = []) : PDOStatement {
158158
$execute = $pdoStmnt->execute($mapping);
159159
}
160160
catch (PDOException $e) {
161-
die("error on line " . __LINE__ . ": " . $e->getCode());
161+
die(__CLASS__ . "->" . __FUNCTION__ . "() " . $e->getCode() . ": " . $e->getMessage());
162162
}
163163

164164
$this->addLog($pdoStmnt->queryString, $execute);

0 commit comments

Comments
 (0)