diff --git a/local_moodleappbehat/tests/behat/behat_app_helper.php b/local_moodleappbehat/tests/behat/behat_app_helper.php index ad25bddb4..14932534a 100644 --- a/local_moodleappbehat/tests/behat/behat_app_helper.php +++ b/local_moodleappbehat/tests/behat/behat_app_helper.php @@ -234,7 +234,7 @@ class behat_app_helper extends behat_base { $this->runtime_js("init($initoptions)"); } catch (Exception $error) { - throw new DriverException('Moodle App not running or not running on Automated mode.'); + throw new DriverException('Moodle App not running or not running on Automated mode: ' . $error->getMessage()); } if ($restart) {