From ed609f1cf138aeea5abb854a080c95b165b213bf Mon Sep 17 00:00:00 2001 From: vmarchaud Date: Sun, 5 Jan 2020 13:24:04 +0100 Subject: [PATCH] chore: address PR comments --- packages/opentelemetry-node/src/instrumentation/PluginLoader.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/opentelemetry-node/src/instrumentation/PluginLoader.ts b/packages/opentelemetry-node/src/instrumentation/PluginLoader.ts index 23f910b3bb3..cd3e2dea33a 100644 --- a/packages/opentelemetry-node/src/instrumentation/PluginLoader.ts +++ b/packages/opentelemetry-node/src/instrumentation/PluginLoader.ts @@ -84,7 +84,7 @@ export class PluginLoader { ); if (requiredModulesToHook.length > 0) { this.logger.warn( - `Some modules (${requiredModulesToHook}) were already required when their respective plugin were loaded, some plugins might not work. Make sure the SDK is setup before you require in other modules.` + `Some modules (${requiredModulesToHook.join(', ')}) were already required when their respective plugin were loaded, some plugins might not work. Make sure the SDK is setup before you require in other modules.` ); }