parallaxinc / BlocklyPropClient

Client to provide access to the propeller for loading binaries and serial terminal
9 stars 7 forks source link

Add exception handling to socket calls #30

Closed zfi closed 7 years ago

zfi commented 7 years ago

The calls used to determine the client's IP address fail if the client hostname cannot be resolved. Under this condition, the client appears to launch and then immediately fail without any indication as to why it failed.

The update traps the exception and prints an error message to the console.