Adds QueueErrorHandler to correctly log uncaught exceptions from the queue.
Changes ExceptionLog to take a Throwable argument instead of Exception.
Merge commit 'b8e1d0f006bd60d69ab52f9bcd2b8e0d1afb6c22' into HEAD