Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: support when header is not present #343

Merged
merged 1 commit into from
Jan 17, 2024
Merged

Conversation

shetzel
Copy link
Collaborator

@shetzel shetzel commented Jan 16, 2024

What does this PR do?

Updates the type for the header to be optional and handles when it's not there in code. Adds a unit test.

What issues does this PR fix or reference?

Unexpected error while executing anonymous apex. Cannot read properties of undefined (reading 'DebuggingInfo')#2630
@W-14750755@

Functionality Before

Throws Cannot read properties of undefined (reading 'DebuggingInfo')

Functionality After

<insert gif and/or summary>
apex executes without error

@shetzel shetzel merged commit 6854516 into main Jan 17, 2024
11 checks passed
@shetzel shetzel deleted the sh/better-header-support branch January 17, 2024 19:26
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.

2 participants