Skip to content

Commit 8bb80a9

Browse files
committed
Better transport error message
1 parent ed27116 commit 8bb80a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/service-module/service-module.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ export default function servicePluginInit (feathersClient, globalOptions = {}) {
3636

3737
const service = feathersClient.service(servicePath)
3838
if (!service) {
39-
throw new Error('No service was found. Please configure a transport plugin on the Feathers Client')
39+
throw new Error('No service was found. Please configure a transport plugin on the Feathers Client. Make sure you use the client version of the transport, like `feathers-socketio/client` or `feathers-rest/client`.')
4040
}
4141
const paginate = service.hasOwnProperty('paginate') && service.paginate.hasOwnProperty('default')
4242

0 commit comments

Comments
 (0)