Skip to content

Commit

Permalink
fix NoSuchDriver exception hanlding
Browse files Browse the repository at this point in the history
  • Loading branch information
Jean-Beru committed Jan 12, 2024
1 parent 9d49b7b commit 489aa85
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/HttpCall/HttpCallListener.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,8 @@ public function afterStep(AfterStepTested $event)
// Mink has no response
} catch (\Behat\Mink\Exception\DriverException $e) {
// No Mink
} catch (\WebDriver\Exception\NoSuchDriver $e) {
// A session is either terminated or not started
}
}
}

0 comments on commit 489aa85

Please sign in to comment.