Catch all exceptions and dispatch fail.
Merge pull request #287 from square/dimitris/catch-all

Catch all exceptions and dispatch fail.