ecto / duino

:bulb: Arduino framework for node.js
958 stars 214 forks source link

Don't throw Errors #8

Closed lwille closed 4 years ago

lwille commented 12 years ago

When no board is found, the board initialization routine throws an error inside an internal callback (board.js:88).

I propose emitting an "error" event instead of throwing.

Update: Sorry I didn't make a pull request initially, just didn't think that I'd implement it that quickly.