Agent thread executors do not use the global uncaught exception handler

Description

If you use Thread.setDefaultUncaughtExceptionHandler to catch all application exceptions, and then throw an exception in a future, that exception will get swallowed up in deployment environments that don't watch stdout. It seems that the agent's executors ought to delegate to the global handler.

This issue bit us, in that we deploy and monitor our system only through its logs and metrics, and never actually saw that exceptions were being thrown in futures.

Environment

None

Activity

Show:

Details

Assignee

Reporter

Labels

Priority

Affects versions

Created October 1, 2013 at 7:07 PM
Updated February 5, 2014 at 6:25 PM