Skip to content

Commit 30392d0

Browse files
authored
Fix can't connect error
1 parent ba421fd commit 30392d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Collector/Neo4jDataCollector.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ public function collect(Request $request, Response $response, \Exception $except
3232
$this->data['nb_queries'] = count($this->queryLogger);
3333
$this->data['statements'] = $this->queryLogger->getStatements();
3434
$this->data['failed_statements'] = array_filter($this->queryLogger->getStatements(), function ($statement) {
35-
return !$statement['success'];
35+
return !isset($statement['success']) || !$statement['success'];
3636
});
3737
}
3838

0 commit comments

Comments
 (0)