We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ba421fd commit 30392d0Copy full SHA for 30392d0
Collector/Neo4jDataCollector.php
@@ -32,7 +32,7 @@ public function collect(Request $request, Response $response, \Exception $except
32
$this->data['nb_queries'] = count($this->queryLogger);
33
$this->data['statements'] = $this->queryLogger->getStatements();
34
$this->data['failed_statements'] = array_filter($this->queryLogger->getStatements(), function ($statement) {
35
- return !$statement['success'];
+ return !isset($statement['success']) || !$statement['success'];
36
});
37
}
38
0 commit comments