Remove 'exec' debug logs
Summary: These are quite verbose even when debugging, so remove. Reviewed By: ivanmisuno Differential Revision: D49538582 fbshipit-source-id: 089027390a825dde3d3d53b67e3f920f2f1f75f2
This commit is contained in:
committed by
Facebook GitHub Bot
parent
ddf348faa5
commit
7d77be1c9d
@@ -96,7 +96,6 @@ export function createFlipperServerWithSocket(
|
||||
|
||||
switch (event) {
|
||||
case 'exec-response': {
|
||||
console.debug('flipper-server: exec <<<', payload);
|
||||
const entry = pendingRequests.get(payload.id);
|
||||
if (!entry) {
|
||||
console.warn(`Unknown request id `, payload.id);
|
||||
@@ -108,12 +107,6 @@ export function createFlipperServerWithSocket(
|
||||
break;
|
||||
}
|
||||
case 'exec-response-error': {
|
||||
// TODO: Deserialize error
|
||||
console.debug(
|
||||
'flipper-server: exec <<< [SERVER ERROR]',
|
||||
payload.id,
|
||||
payload.data,
|
||||
);
|
||||
const entry = pendingRequests.get(payload.id);
|
||||
if (!entry) {
|
||||
console.warn(`flipper-server: Unknown request id `, payload.id);
|
||||
@@ -170,13 +163,6 @@ export function createFlipperServerWithSocket(
|
||||
if (connected) {
|
||||
const id = ++requestId;
|
||||
return new Promise<any>((resolve, reject) => {
|
||||
console.debug(
|
||||
'flipper-server: exec >>>',
|
||||
id,
|
||||
command,
|
||||
command === 'intern-upload-scribe-logs' ? undefined : args,
|
||||
);
|
||||
|
||||
pendingRequests.set(id, {
|
||||
resolve,
|
||||
reject,
|
||||
|
||||
Reference in New Issue
Block a user