@adonisjs/otel 1.0.0-next.0 → 1.0.0-next.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/src/start.js +1 -1
- package/package.json +1 -1
package/build/src/start.js
CHANGED
|
@@ -24,7 +24,7 @@ export async function init(dirname) {
|
|
|
24
24
|
register('import-in-the-middle/hook.mjs', import.meta.url, registerOptions);
|
|
25
25
|
// Import SDK functions after hooks are registered
|
|
26
26
|
const { OtelManager } = await import('./otel.js');
|
|
27
|
-
const configPath = join(dirname, '../config/otel.
|
|
27
|
+
const configPath = join(dirname, '../config/otel.js');
|
|
28
28
|
const config = await import(configPath).then((mod) => mod.default || mod);
|
|
29
29
|
if (!config)
|
|
30
30
|
throw new Error(`Otel configuration not found at ${configPath}`);
|