DBCDK / dbc-node-serviceprovider

Node module that provides access to the DBC webservices through a series of client modules
1 stars 1 forks source link

Logging, socket-cluster compatibility, performance, error-handling #4

Closed rasmuserik closed 8 years ago

rasmuserik commented 8 years ago

Several changes on the way to fix DBCDK/mobilsoeg#5:

Do 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.

rasmuserik commented 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.

rasmuserik commented 8 years ago

The pull request should be ready to merge now. Content: