Skip to content
This repository has been archived by the owner on Nov 22, 2024. It is now read-only.

Commit

Permalink
Remove 'exec' debug logs
Browse files Browse the repository at this point in the history
Summary: These are quite verbose even when debugging, so remove.

Reviewed By: ivanmisuno

Differential Revision: D49538582

fbshipit-source-id: 089027390a825dde3d3d53b67e3f920f2f1f75f2
  • Loading branch information
lblasa authored and facebook-github-bot committed Sep 22, 2023
1 parent ddf348f commit 7d77be1
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions desktop/flipper-server-client/src/FlipperServerClient.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand All @@ -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);
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit 7d77be1

Please sign in to comment.