synthetos / node-g2core-api

NodeJS host communications, API and command line interface for g2 CNC system
GNU General Public License v2.0
8 stars 6 forks source link

Missing -p cmd line #4

Open ril3y opened 6 years ago

ril3y commented 6 years ago

If you do not provide a -p the programs crashes with non helpful message. @giseburt

giseburt commented 6 years ago

This is related to #6 and a similar issue (not actually recorded in github issues yet) on Linux, where if the auto-detect doesn’t find a TinyG or g2core machine it fails.

The error message is getting lost due to another bug with error handling, resulting in a non-helpful exit message.