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: avoid panic when ctx is canceled #1515

Merged
merged 3 commits into from
Feb 20, 2024
Merged

fix: avoid panic when ctx is canceled #1515

merged 3 commits into from
Feb 20, 2024

Conversation

yhl25
Copy link
Contributor

@yhl25 yhl25 commented Feb 20, 2024

No description provided.

Signed-off-by: Yashash H L <yashashhl25@gmail.com>
Copy link
Contributor

@vigith vigith left a comment

Choose a reason for hiding this comment

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

how was it working so far?

Signed-off-by: Yashash H L <yashashhl25@gmail.com>
@@ -44,3 +44,8 @@ func (e ApplyUDFErr) IsInternalErr() bool {
func (e ApplyUDFErr) Error() string {
return fmt.Sprint(e.Message)
}

// Is checks if the error is of the same type
func (e ApplyUDFErr) Is(target error) bool {
Copy link
Member

Choose a reason for hiding this comment

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

Where is the function used?

Copy link
Contributor

Choose a reason for hiding this comment

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

Copy link
Contributor

@vigith vigith Feb 20, 2024

Choose a reason for hiding this comment

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

looks like it hit the nerve in session code :)

Signed-off-by: Yashash H L <yashashhl25@gmail.com>
@yhl25 yhl25 merged commit c58f9a1 into main Feb 20, 2024
19 of 20 checks passed
@yhl25 yhl25 deleted the fix-panic branch February 20, 2024 08:08
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.

None yet

3 participants