We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9867cef commit 7c2ccffCopy full SHA for 7c2ccff
src/bootstrap.ts
@@ -111,7 +111,8 @@ export async function bootstrap<
111
| undefined = undefined;
112
if (customizer) {
113
// Customize OTEL with a dynamic import based on the codePath (so put it in src, generally)
114
- otelCustomizer = (await import(`./${codepath}/${customizer}`)).NodeSDKConfiguration;
+ otelCustomizer = (await import(path.resolve(`${codepath}/${customizer}`)))
115
+ .NodeSDKConfiguration;
116
if (typeof otelCustomizer === 'object') {
117
otelCustomizer = (v) => ({ ...v, ...(otelCustomizer as Partial<NodeSDKConfiguration>) });
118
}
0 commit comments