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

Command handler becomes unresponsive #1428

Closed
1 task done
incompletude opened this issue Jul 22, 2023 · 4 comments
Closed
1 task done

Command handler becomes unresponsive #1428

incompletude opened this issue Jul 22, 2023 · 4 comments
Labels

Comments

@incompletude
Copy link

incompletude commented Jul 22, 2023

Is there an existing issue for this?

  • I have searched the existing issues

Current behavior

The command handler becomes unresponsive if its execution was triggered by a saga and the handler throws an unhandled exception.

Minimum reproduction code

project-name.zip

Steps to reproduce

npm i and docker-compose up and watch logs. The TestEvent is added to the eventBus twice, if the command handler throws an error, it becomes unresponsive and does not respond to the second event.

Expected behavior

The command handler should respond normally.

Package version

10

NestJS version

10

Node.js version

17 LTS
18 LTS

In which operating systems have you tested?

macOS with Linux docker container, same error for node:17 and node:18.

Other

Version 8.0.3 works fine in case someone needs.

@kamilmysliwiec
Copy link
Member

Let's track this here #1430

@incompletude
Copy link
Author

Still not working on 10.0.2. Now it crashes the app.

@intwone
Copy link

intwone commented Jul 24, 2023

With 10.0.2 version:

image

@kamilmysliwiec
Copy link
Member

Fixed in 10.0.3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants