Full threaddharbin·q.js can properly handle exceptions thrown in a handler. see the examples here: https://github.com/kriskowal/q#chainingView on HN