зеркало из https://github.com/mozilla/gecko-dev.git
bug 1606613: remote: stop logging handled errors r=remote-protocol-reviewers,whimboo
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. Differential Revision: https://phabricator.services.mozilla.com/D58508 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
d482c88ae3
Коммит
986fa21674
|
@ -229,7 +229,6 @@ class Connection {
|
|||
const result = await session.execute(id, domain, command, params);
|
||||
this.onResult(id, result, sessionId);
|
||||
} catch (e) {
|
||||
log.warn(e);
|
||||
this.onError(packet.id, e, packet.sessionId);
|
||||
}
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче