Revert "chore(NA): temporarily enable more detailed error for NoSuchSessionError"

This reverts commit 748364d8fa.
This commit is contained in:
Tiago Costa 2023-09-01 01:53:16 +01:00
parent 5abc5e46a7
commit d117fae85c
No known key found for this signature in database
GPG key ID: BAECC2D04A04C6EA

View file

@ -659,8 +659,6 @@ class BrowserService extends FtrService {
this.log.error(
`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;
}