AbstractClient load plugins log

Summary: The existing log message was quite verbose without really adding any value. Make it simpler by stripping out the client query.

Reviewed By: passy

Differential Revision: D48518212

fbshipit-source-id: f50d7a1ca8f9f6b440451022d60cf0f309c89634
This commit is contained in:
Lorenzo Blasa
2023-08-22 05:16:20 -07:00
committed by Facebook GitHub Bot
parent c161e869d3
commit 82e9277e64

View File

@@ -137,7 +137,10 @@ export default abstract class AbstractClient extends EventEmitter {
console.warn('Failed to fetch plugin', e);
}
this.plugins = new Set(response?.plugins ?? []);
console.info('AbstractClient.loadPlugins', this.query, [...this.plugins]);
console.info(
`Received plugins from '${this.query.app}' on device '${this.query.device}'`,
[...this.plugins],
);
return this.plugins;
}