We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c88721e commit 98eb2e0Copy full SHA for 98eb2e0
1 file changed
packages/dd-trace/src/profiling/profiler.js
@@ -23,7 +23,7 @@ class Profiler extends EventEmitter {
23
}
24
25
start (options) {
26
- this._start(options).catch(() => {})
+ this._start(options).catch((err) => { if (options.logger) options.logger.error(err) })
27
return this
28
29
0 commit comments