mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 22:57:44 +00:00
WebDriver: Print out the entire error when failing to start a session
This commit is contained in:
parent
4dbb73b360
commit
0f0c9f910a
1 changed files with 1 additions and 1 deletions
|
@ -139,7 +139,7 @@ Web::WebDriver::Response Client::new_session(Web::WebDriver::Parameters, JsonVal
|
|||
auto session = make_ref_counted<Session>(session_id, *this, move(options));
|
||||
|
||||
if (auto start_result = session->start(m_callbacks); start_result.is_error())
|
||||
return Web::WebDriver::Error::from_code(Web::WebDriver::ErrorCode::SessionNotCreated, DeprecatedString::formatted("Failed to start session: {}", start_result.error().string_literal()));
|
||||
return Web::WebDriver::Error::from_code(Web::WebDriver::ErrorCode::SessionNotCreated, DeprecatedString::formatted("Failed to start session: {}", start_result.error()));
|
||||
|
||||
auto& web_content_connection = session->web_content_connection();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue