Closed rasmuserik closed 8 years ago
Removed the parameters passed to logging Transform has been triggered
, as these were a source of performance issues in mobilsoeg.
This pull-request is a work in progress. I will figure out which data are small enough to log, and also fix the tests, and unfinished tasks above.
The pull request should be ready to merge now. Content:
io.on
instead of io.use
which is socket.io only)Dispatcher.js
instead of both dispatcher.js
and Dispatcher.js
)
Several changes on the way to fix DBCDK/mobilsoeg#5:
io.on
instead ofio.use
as the latter seems to be socket.io onlyDo we know the structure of the error sent to the serviceprovider dispatch? Ie. does it always have a type/body/... (we cannot emit it as it is cyclic, but if we know something about it, we could give more info than just that an error occurred).
I will update the code with a bit more info in what is logged/emitted later.