MOBILE-4470 behat: Add error message details
parent
6548346dca
commit
2e4293a633
|
@ -234,7 +234,7 @@ class behat_app_helper extends behat_base {
|
||||||
|
|
||||||
$this->runtime_js("init($initoptions)");
|
$this->runtime_js("init($initoptions)");
|
||||||
} catch (Exception $error) {
|
} 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) {
|
if ($restart) {
|
||||||
|
|
Loading…
Reference in New Issue