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

MessageHandler Unhandled error #294

Closed
simonas-notcat opened this issue Dec 10, 2020 · 1 comment
Closed

MessageHandler Unhandled error #294

simonas-notcat opened this issue Dec 10, 2020 · 1 comment
Assignees
Labels
bug Something isn't working
Milestone

Comments

@simonas-notcat
Copy link
Contributor

Bug severity
5

Describe the bug
When calling agent.handleMessage with some random data I expect to get Unsupported message type error, but instead, I'm getting

UnhandledPromiseRejectionWarning: Error [ERR_UNHANDLED_ERROR]: Unhandled error. ('Unsupported message type')
    at EventEmitter.emit (events.js:199:17)

To Reproduce
Steps to reproduce the behaviour:

  1. daf msg --save false -r hello

Expected behaviour
Should throw Unsupported message type error

Versions:

  • Daf: 7.0.0-beta.56
  • Node Version v12.13.1
@mirceanis
Copy link
Member

fixed in #300

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants