mirror of
https://github.com/elastic/kibana.git
synced 2025-06-28 11:05:39 -04:00
chore(NA): temporarily enable more detailed error for NoSuchSessionError (#165389)
This PR just temporarily enables more detail logging for WebDriver NoSuchSessionError happening on FTR. Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com> Co-authored-by: Dzmitry Lemechko <dzmitry.lemechko@elastic.co>
This commit is contained in:
parent
1158ab5c71
commit
fca8c581db
1 changed files with 6 additions and 0 deletions
|
@ -664,6 +664,12 @@ class BrowserService extends FtrService {
|
||||||
this.log.error(
|
this.log.error(
|
||||||
`WebDriver session is no longer valid.\nProbably Chrome process crashed when it tried to use more memory than what was available.`
|
`WebDriver session is no longer valid.\nProbably Chrome process crashed when it tried to use more memory than what was available.`
|
||||||
);
|
);
|
||||||
|
// TODO: Remove this after a while. We are enabling richer logs in order to try catch the real error cause.
|
||||||
|
this.log.error(
|
||||||
|
`Original Error Logging.\n Name: ${err.name};\n Message: ${err.message};\n Stack: ${
|
||||||
|
err.stack
|
||||||
|
}\n RemoteStack: ${(err as NoSuchSessionError).remoteStacktrace}`
|
||||||
|
);
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue