fix: Missing DB traces in instrumentation (#13429)
* chore: Fix issue with missing DB traces * Fix missing DB traces in Medusa package Fixes an issue related to missing database traces in the Medusa package.
This commit is contained in:
5
.changeset/olive-news-fix.md
Normal file
5
.changeset/olive-news-fix.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"@medusajs/medusa": patch
|
||||
---
|
||||
|
||||
chore: Fix issue with missing DB traces
|
||||
@@ -146,7 +146,9 @@ async function start(args: {
|
||||
}) {
|
||||
const { port = 9000, host, directory, types } = args
|
||||
|
||||
const container = await initializeContainer(directory)
|
||||
const container = await initializeContainer(directory, {
|
||||
skipDbConnection: true,
|
||||
})
|
||||
const logger = container.resolve(ContainerRegistrationKeys.LOGGER)
|
||||
|
||||
async function internalStart(generateTypes: boolean) {
|
||||
|
||||
Reference in New Issue
Block a user