Skip to content

Commit 44d8504

Browse files
derickrjmikola
authored andcommitted
Adding some debugging information, as this seems like a transient failure
1 parent bcbdcbf commit 44d8504

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/server/server-executeQuery-006.phpt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,9 @@ $query = new MongoDB\Driver\Query(
4040
$cursor = $secondary->executeQuery(DATABASE_NAME . '.system.profile', $query, $rp);
4141
$profileEntry = current($cursor->toArray());
4242

43+
if (! isset( $profileEntry->command )) {
44+
var_dump($profileEntry);
45+
}
4346
var_dump($profileEntry->command->find);
4447
var_dump($profileEntry->command->filter);
4548

0 commit comments

Comments
 (0)