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

Improve errors received when creating an endpoint #83

Merged
merged 2 commits into from
Nov 14, 2024
Merged

Conversation

jahow
Copy link
Member

@jahow jahow commented Nov 9, 2024

This PR makes sure that errors raised in the worker are reproduced identically on the main thread. Before, all errors were transformed to a generic Error instance because of serialization.

Also adds some more testing on the endpoints.

This mostly improves testing and code organization, it does not fix anything
@jahow
Copy link
Member Author

jahow commented Nov 9, 2024

@vprintempsPei this should address the issue raised in #82 in a more future-proof way, could you please confirm?

This allows having proper error instances on the main thread instead of
generic Error instances
@jahow
Copy link
Member Author

jahow commented Nov 11, 2024

@vprintempsPei I'm going to merge this and cut the 1.2.0 release, let me know if you see something else missing, thanks a lot for your contributions!

@vprintempsPei
Copy link
Contributor

Hello, thanks for this big work ! i will try the implementation today. I let you know !

@jahow jahow merged commit b904064 into main Nov 14, 2024
1 check passed
@jahow jahow deleted the improve-errors branch November 14, 2024 21:32
@vprintempsPei
Copy link
Contributor

Hello, I implemented it yersteday and it works fine and allows us to improve the error management. Thank you.

@jahow
Copy link
Member Author

jahow commented Nov 14, 2024

Great news! thanks. I'm going to do the 1.2.0 release

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