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(exception): catch exception for users' runners code #4150

Merged
merged 2 commits into from Sep 1, 2023

Conversation

aarnphm
Copy link
Member

@aarnphm aarnphm commented Aug 26, 2023

Signed-off-by: aarnphm-ec2-dev 29749331+aarnphm@users.noreply.github.com

What does this PR address?

Fixes #(issue)

Before submitting:

Signed-off-by: aarnphm-ec2-dev <29749331+aarnphm@users.noreply.github.com>
@aarnphm aarnphm requested a review from a team as a code owner August 26, 2023 11:25
@aarnphm aarnphm requested review from bojiang and removed request for a team August 26, 2023 11:25
@jianshen92 jianshen92 self-requested a review August 29, 2023 18:29
jianshen92
jianshen92 previously approved these changes Aug 29, 2023
@sauyon
Copy link
Contributor

sauyon commented Aug 30, 2023

Why is this only for the stream endpoint?

Signed-off-by: Aaron <29749331+aarnphm@users.noreply.github.com>
@aarnphm
Copy link
Member Author

aarnphm commented Sep 1, 2023

@sauyon I added the exception catch to all async_run and async_stream PTAL

@aarnphm aarnphm changed the title fix(exception): raise exception if async_stream runs into exception fix(exception): catch exception for users' runners code Sep 1, 2023
Copy link
Contributor

@sauyon sauyon left a comment

Choose a reason for hiding this comment

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

LGTM for now! Do you know why these aren't being raised? Should we just have a unified print point in the dispatcher?

@aarnphm
Copy link
Member Author

aarnphm commented Sep 1, 2023

I think the log just eats it all and doesn't print out the exception. Eh let's just have this for now and once we move over everything to rust

@aarnphm aarnphm merged commit a4c3f4f into main Sep 1, 2023
42 of 45 checks passed
@aarnphm aarnphm deleted the fix/raise-exception-streaming branch September 1, 2023 21:15
@aarnphm aarnphm mentioned this pull request Oct 12, 2023
5 tasks
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