Skip to content

Commit

Permalink
Test coverage in phongo_cursor_advance_and_check_for_error
Browse files Browse the repository at this point in the history
  • Loading branch information
jmikola committed May 30, 2019
1 parent c74977b commit ceb8c30
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions php_phongo.c
Original file line number Diff line number Diff line change
Expand Up @@ -809,6 +809,8 @@ bool phongo_cursor_advance_and_check_for_error(mongoc_cursor_t* cursor TSRMLS_DC

/* Check for connection related exceptions */
if (EG(exception)) {
fprintf(stderr, "%s\n", "EG(exception) already set in phongo_cursor_advance_and_check_for_error");
abort();
return false;
}

Expand Down

0 comments on commit ceb8c30

Please sign in to comment.