Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(node-sdk): use warn log level when enabled plugin arent installed #1526

Closed

Conversation

vmarchaud
Copy link
Member

Fixes #1124

@codecov
Copy link

codecov bot commented Sep 13, 2020

Codecov Report

Merging #1526 into master will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master    #1526   +/-   ##
=======================================
  Coverage   93.82%   93.83%           
=======================================
  Files         154      154           
  Lines        4762     4765    +3     
  Branches      951      954    +3     
=======================================
+ Hits         4468     4471    +3     
  Misses        294      294           
Impacted Files Coverage Δ
...telemetry-node/src/instrumentation/PluginLoader.ts 94.04% <100.00%> (+0.22%) ⬆️

`PluginLoader#load: could not load plugin ${modulePath} of module ${name}. Error: ${e.message}`
} catch (err) {
const logLevel =
err instanceof Error && err.message.match(/Cannot find module/)
Copy link
Member

@dyladan dyladan Sep 14, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vmarchaud
Copy link
Member Author

Closing because @obecny will refactor the plugin loader and it will not be a problem (ref #1124 (comment))

@vmarchaud vmarchaud closed this Sep 15, 2020
pichlermarc pushed a commit to dynatrace-oss-contrib/opentelemetry-js that referenced this pull request Dec 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

bug(node-trace-sdk): could not load plugin errors are polutting stdout
3 participants