diff --git a/sdk_contrib/prisma/src/captureModels.ts b/sdk_contrib/prisma/src/captureModels.ts index 49913b4e..0619951f 100644 --- a/sdk_contrib/prisma/src/captureModels.ts +++ b/sdk_contrib/prisma/src/captureModels.ts @@ -12,7 +12,7 @@ export function captureModels( segment = AWSXRay.resolveSegment(segment); } - if (!attr || attr instanceof Function) { + if (typeof attr !== 'object') { return attr; }