Skip to content

fix(aws-serverless): Prevent crash in isPromiseAllSettledResult with null/undefined array elements#19346

Merged
chargome merged 2 commits intodevelopfrom
cg/JS-1724
Feb 16, 2026
Merged

fix(aws-serverless): Prevent crash in isPromiseAllSettledResult with null/undefined array elements#19346
chargome merged 2 commits intodevelopfrom
cg/JS-1724

Conversation

@chargome
Copy link
Member

Added a guard against null/undefined elements in isPromiseAllSettledResult which caused TypeError: Cannot convert undefined or null to object when captureAllSettledReasons: true and the Lambda handler returned an array containing nullish values.

closes #19344

@chargome chargome self-assigned this Feb 16, 2026
@linear
Copy link

linear bot commented Feb 16, 2026

@github-actions
Copy link
Contributor

github-actions bot commented Feb 16, 2026

Codecov Results 📊


Generated by Codecov Action

@chargome chargome merged commit 51a0cf0 into develop Feb 16, 2026
43 checks passed
@chargome chargome deleted the cg/JS-1724 branch February 16, 2026 18:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

AWS Lambda: Undefined/null array result + captureAllSettledReasons: true = sentry crash

3 participants