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

More informative error when non-existent service is called. #7

Closed rasmuserik closed 8 years ago

rasmuserik commented 8 years ago

Currently calling a non-existent service yields a TypeError: Cannot read property 'trigger' of undefined. It would be nice to if the error actually said that it was due to a missing service. This is needed such that the serviceprovider can properly report 404.