Skip to content
This repository was archived by the owner on May 12, 2022. It is now read-only.

Commit 579afe9

Browse files
author
Nik Barham
committed
Minor tweak to logging of queries
1 parent a97e5d6 commit 579afe9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Automatorm/Database/Query.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,8 @@ public function logQuery(Query $query)
153153
[
154154
'query' => $sql->sql,
155155
'data' => $sql->data,
156-
'debug' => $query->debug[$count]
156+
'debug' => $query->debug[$count],
157+
'error' => $query->error
157158
]
158159
);
159160
}

0 commit comments

Comments
 (0)