syncano-node icon indicating copy to clipboard operation
syncano-node copied to clipboard

Better error message for wrong endpoint/script name

Open adamwardecki opened this issue 8 years ago • 0 comments

socket.yml

endpoints:
  hello:

I.e. if someone makes an error in the script name: src/hallo.js, then the CLI outputs this error:

adam@adam > ~/temp/canary-playground > npx s deploy new

     project synced: 13:23:41 1000 ms
  socket not synced: 13:23:49 new 8039 ms No calls defined for endpoint: "hello".

The error message could be more specific, i.e.: 'No script named hello.js found in the <socket>/src folder'

adamwardecki avatar Feb 26 '18 12:02 adamwardecki