Skip to content

Commit 4be30fc

Browse files
committed
fix(prisma): Only objects are captured
1 parent ec8c731 commit 4be30fc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

sdk_contrib/prisma/src/captureModels.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ export function captureModels(
1212
segment = AWSXRay.resolveSegment(segment);
1313
}
1414

15-
if (!attr || attr instanceof Function) {
15+
if (typeof attr !== 'object') {
1616
return attr;
1717
}
1818

0 commit comments

Comments
 (0)