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

Worker process does not recover from Errors #250

Closed
michaelbromley opened this issue Jan 24, 2020 · 0 comments
Closed

Worker process does not recover from Errors #250

michaelbromley opened this issue Jan 24, 2020 · 0 comments
Assignees
Labels
type: bug 🐛 Something isn't working @vendure/core

Comments

@michaelbromley
Copy link
Member

Describe the bug
When a Controller running in the Vendure Worker throws an Error, it thereafter no longer responds to any further WorkerMessages - essentially the worker process is dead even though still running.

To Reproduce
Steps to reproduce the behavior:

  1. Create a VendurePlugin with a controller which has a method that throws.
  2. Invoke that controller method
  3. Observe that no other worker methods will now get executed (e.g. try to re-index the search index)

Expected behavior
The worker process should continue to respond after an Error has been thrown.

Environment (please complete the following information):

  • @vendure/core version: 0.7.0
  • Nodejs version: 12.4.0
  • Database (mysql/postgres etc): any
@michaelbromley michaelbromley added the type: bug 🐛 Something isn't working label Jan 24, 2020
@michaelbromley michaelbromley self-assigned this Jan 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug 🐛 Something isn't working @vendure/core
Projects
None yet
Development

No branches or pull requests

1 participant