# Exception.Source BUG

**URL:** <https://forum.uipath.com/t/exception-source-bug/158318>\
**Category:** Help\
**Tags:** uiautomation, activities\
**Created:** [October 11, 2019, 2:58am UTC](https://forum.uipath.com/t/exception-source-bug/158318 "2019-10-11T02:58:03Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![theerthaks](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/theerthaks/32/63291_2.png) [@theerthaks](https://forum.uipath.com/u/theerthaks)\
**Post date:** [October 11, 2019, 2:58am UTC](https://forum.uipath.com/t/exception-source-bug/158318/1 "2019-10-11T02:58:03Z")

</div>

[TestAndPractice.zip](https://forum.uipath.com/uploads/short-url/uxXDrhlIe7wlncETY0HcHwG6GIq.zip) (12.8 KB)

Team,

I have created a simple workflow.

Try  
{  
// Get Text activity  
}  
Catch(exception)  
{  
print - exception.Source  
}

When there is an exception, it’s source showing as “System.Activities”

I have downgraded the both ui and activities packages and upgraded and tried all combinations.. still issue persists..

Could you please look into it? attached the issue workflow

---

<div class="post-metadata">

**Author:** ![lakshman](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/lakshman/32/523490_2.png) [@lakshman](https://forum.uipath.com/u/lakshman)\
**Post date:** [October 11, 2019, 3:09am UTC](https://forum.uipath.com/t/exception-source-bug/158318/2 "2019-10-11T03:09:23Z")

</div>

@theerthaks

Try to print the **Exception.Message** and check once.

---

<div class="post-metadata">

**Author:** ![theerthaks](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/theerthaks/32/63291_2.png) [@theerthaks](https://forum.uipath.com/u/theerthaks)\
**Post date:** [October 11, 2019, 3:41am UTC](https://forum.uipath.com/t/exception-source-bug/158318/3 "2019-10-11T03:41:48Z")

</div>

Message is fine. It works… Only source is the problem

---

<div class="post-metadata">

**Author:** ![theerthaks](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/theerthaks/32/63291_2.png) [@theerthaks](https://forum.uipath.com/u/theerthaks)\
**Post date:** [April 21, 2020, 2:23pm UTC](https://forum.uipath.com/t/exception-source-bug/158318/4 "2020-04-21T14:23:42Z")

</div>

@Yoshi_Akiyama Could you please check this. The error still persists. In catch, if we try to get source like exception.Source, instead of giving activity name, it is display as mscorlib…

Also how to get which sequence inside try block does the activity belongs to.

Thank you  
Theertha K S
