syncano-node
syncano-node copied to clipboard
Better error message for wrong endpoint/script name
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'