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

Throw a WorkerError instead of generic Error #274

Open
usein-abilev opened this issue Apr 5, 2021 · 1 comment
Open

Throw a WorkerError instead of generic Error #274

usein-abilev opened this issue Apr 5, 2021 · 1 comment

Comments

@usein-abilev
Copy link

usein-abilev commented Apr 5, 2021

When I call the terminate () function, the worker pool throws an error: "Worker terminated".
Please create a class named WorkerError and use it for error messages. Since this is difficult to debug.

image

@josdejong
Copy link
Owner

josdejong commented Apr 5, 2021

"impossible to debug" is a bit exaggerated I think 😉

Anyway, sounds good to me. Anyone interested in creating a pull request creating and using a custom WorkerError or WorkerpoolError?

@josdejong josdejong changed the title Worker terminated Throw a WorkerError instead of generic Error Apr 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants