title: How to get Exception source “Activity Description name”
body: <p>When exceptions occur in a UIPath project I have an email that is sent out with the exception info included. There seems to be an issue though where I can only see where the error occured by looking at the selector information such as:</p>
  
  <pre><code>Cannot find the UI element corresponding to this selector: 
  &lt;html app='chrome.exe' title='Microsoft Dynamics GP' /&gt;
  &lt;webctrl aaname='Add' idx='1'
      parentid='a00000000000000008549000000030009000000000001000000000000' tag='DIV' /&gt;
  </code></pre>
  
  <p>This info and the stack trace or any other info is not really helpful for quickly finding the source of the problem. I have looked through the UIPath documentation and forum and found only the <a href="https://forum.uipath.com/t/how-to-get-exception-source-activity-description-name/4414" rel="nofollow noreferrer">this question</a>, which seemed to point to using the exception.Source to show the name of the activity where the error occurred. exception.Source only returns “UiPath.Core.Activities” though instead of "Type into Copy Job# 'INPUT'" in the following example:</p>
  
  <p><a href="https://i.stack.imgur.com/l1rLC.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/l1rLC.png" alt="exception issue"></a></p>
  
  <p>This obviously causes a big problem with exception handling. How can I easily return the source with each exception?</p>