This is a report of a possible bug in Feathers
Relevant files:
report.js
- script that connects to a server and tries to create a messagechannels.js
- throws exception in.publish
app.hooks.js
- there is a log that doesn't log anything, meaning that feathers didn't catch the errorservices/index.js
- simple dummy service, not important
-
Install your dependencies
cd path/to/report yarn
-
Start your app
nodemon
-
Run
report.js
script in separate terminalIt will connect to feathers and try to create a message. Server crashes in
.publish
method in channels Error that is returned is not usual feathers error and it can contain sensitive data (it contains whole context object withparams
etc.)