Description
When user code throws exception, TaskHostBase.HandleException logs some information about it, but not all, for example, stack trace is missing. On the driver side, we also don't get stack trace. This is extremely inconvenient when troubleshooting an exception, we need to log stack trace at some point.
As a fix, I suggest that we log full information about originalException in TaskHostBase.HandleException before passing on new exception.