YahooArchive / mojito

[archiving soon] Yahoo! Mojito Framework
BSD 3-Clause "New" or "Revised" License
1.57k stars 214 forks source link

Catching and printing exceptions in binders' init/bind methods #1383

Closed aljimenez closed 10 years ago

aljimenez commented 10 years ago

It is important to catch these exceptions, otherwise if a binder has an exception then the mojito-client will stop its execution. This results in other binders not getting called and also leaves the mojito-client in an erroneous state, which can result in the mojito-client always remaining paused, and calls to mp.invoke would never work.

yahoocla commented 10 years ago

CLA is valid!

caridy commented 10 years ago

LGTM