Skip to content

fix(serverless): Account when transaction undefined#7829

Merged
AbhiPrasad merged 1 commit intodevelopfrom
abhi-serverless-optional
Apr 13, 2023
Merged

fix(serverless): Account when transaction undefined#7829
AbhiPrasad merged 1 commit intodevelopfrom
abhi-serverless-optional

Conversation

@AbhiPrasad
Copy link
Copy Markdown
Contributor

Fixes #7826

If tracing extensions are not added, make sure we identify that hub.startTransaction can return undefined.

@getsentry getsentry deleted a comment from github-actions bot Apr 12, 2023
@AbhiPrasad AbhiPrasad requested review from a team, Lms24 and lforst and removed request for a team April 13, 2023 11:45
Copy link
Copy Markdown
Contributor

@lforst lforst left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ugly but you gotta do what you gotta do

@AbhiPrasad AbhiPrasad merged commit d324516 into develop Apr 13, 2023
@AbhiPrasad AbhiPrasad deleted the abhi-serverless-optional branch April 13, 2023 12:13
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.

@sentry/serverless "Cannot read properties of undefined (reading 'finish')" since 7.45.0

3 participants