Stop logging handled errors
Categories
(Remote Protocol :: Agent, defect, P1)
Tracking
(firefox73 fixed)
Tracking | Status | |
---|---|---|
firefox73 | --- | fixed |
People
(Reporter: ato, Assigned: ato)
References
(Blocks 1 open bug)
Details
(Whiteboard: [puppeteer-beta-mvp])
Attachments
(1 file)
The remote agent currently logs handled errors to log.error()
and there’s no need for that when the errors are being sent back to the client.
This is a left-over from when the remote agent was in a prototype stage and we couldn’t always rely on the Puppeteer client to interact with Firefox correctly.
There might be an argument to be made that we should be differentiating between RemoteAgentError
derived errors and other errors, but the situation currently is that we use rely on several base errors (as well as NS result exceptions) to control the code flow.
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Comment 1•5 years ago
|
||
Errors that arise from use of the protocol, for example by the client
passing in the wrong argument or an operationg being unsupported, are
returned to the client. Since these are not inherent implementation
problems there is no point to double-logging them in the server.
This is a left-over from when the remote agent was in a prototype
stage and we couldn't always rely on the Puppeteer client to
interact with Firefox correctly.
Updated•5 years ago
|
Comment 3•5 years ago
|
||
bugherder |
Description
•