Skip to content

Commit f8cc54a

Browse files
authored
Add troubleshooting link to profiler start error message (#5242)
1 parent e0ac795 commit f8cc54a

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

packages/dd-trace/src/proxy.js

+5-1
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,11 @@ class Tracer extends NoopProxy {
201201
try {
202202
return require('./profiler').start(config)
203203
} catch (e) {
204-
log.error('Error starting profiler', e)
204+
log.error(
205+
'Error starting profiler. For troubleshooting tips, see ' +
206+
'<https://dtdg.co/nodejs-profiler-troubleshooting>',
207+
e
208+
)
205209
}
206210
}
207211

0 commit comments

Comments
 (0)