Skip to content

Commit f7d37a0

Browse files
author
Luca Forstner
authored
ref(node): Don't call JSON.stringify on prisma client when logging (#8745)
1 parent a0290b9 commit f7d37a0

File tree

1 file changed

+1
-3
lines changed
  • packages/tracing-internal/src/node/integrations

1 file changed

+1
-3
lines changed

packages/tracing-internal/src/node/integrations/prisma.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -84,9 +84,7 @@ export class Prisma implements Integration {
8484
});
8585
} else {
8686
__DEBUG_BUILD__ &&
87-
logger.warn(
88-
`Unsupported Prisma client provided to PrismaIntegration. Provided client: ${JSON.stringify(options.client)}`,
89-
);
87+
logger.warn('Unsupported Prisma client provided to PrismaIntegration. Provided client:', options.client);
9088
}
9189
}
9290

0 commit comments

Comments
 (0)