MOBILE-4470 behat: Add error message details

This commit is contained in:
Noel De Martin 2024-02-01 13:48:24 +01:00
parent 6548346dca
commit 2e4293a633

View File

@ -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) {