tessel / t1-cli

[UNMAINTAINED] Command line interface to Tessel 1.
Other
25 stars 21 forks source link

Avoid throwing error and exiting with no message when build server is not responding as expected. #183

Closed eiriksm closed 9 years ago

eiriksm commented 9 years ago

Hey.

As you probably know (I also posted this on IRC yesterday) your build server ssl certificate is expired.

Among other things, this makes it hard to do tessel update without some hacks. When there is no builds returned it would just exit with

TypeError: Cannot call method 'filter' of null

Here is a PR that at least shows the user an error, and not exits with a TypeError

johnnyman727 commented 9 years ago

Thanks @eiriksm - we're working on updating the SSL certs as well.

eiriksm commented 9 years ago

:thumbsup:

Keep up the good work!