Skip to content

Commit

Permalink
Adding logging in IE for JavaScript errors
Browse files Browse the repository at this point in the history
  • Loading branch information
jimevans committed Jan 14, 2019
1 parent 4e7f9b2 commit 8554151
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cpp/iedriver/Script.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -272,6 +272,7 @@ int Script::Execute() {
CComBSTR script_message = L"";
custom_exception->GetDescription(&script_message);
error_description.Append(script_message);
LOG(DEBUG) << script_message;
} else {
LOGHR(DEBUG, hr) << "Failed to execute anonymous function, no exception information retrieved";
}
Expand Down

0 comments on commit 8554151

Please sign in to comment.