Skip to content

Commit 112334c

Browse files
committed
Fixed bug
1 parent cc78679 commit 112334c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Builder/QueryStatement.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ private function exceptionHandler(string $query, callable $fn) {
151151
try {
152152
return $fn();
153153
} catch (PDOException $exception) {
154-
return $this->exceptionInterpreter->getMoreConcreteException($exception);
154+
throw $this->exceptionInterpreter->getMoreConcreteException($exception);
155155
}
156156
});
157157
}

0 commit comments

Comments
 (0)