# Exception Location

**URL:** <https://forum.uipath.com/t/exception-location/20518>\
**Category:** Help\
**Tags:** debug, studio, system, activities\
**Created:** [January 24, 2018, 6:25am UTC](https://forum.uipath.com/t/exception-location/20518 "2018-01-24T06:25:08Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![arivu96](https://avatars.discourse-cdn.com/v4/letter/a/ebca7d/32.png) [@arivu96](https://forum.uipath.com/u/arivu96)\
**Post date:** [January 24, 2018, 9:49am UTC](https://forum.uipath.com/t/exception-location/20518/8 "2018-01-24T09:49:25Z")

</div>

Hi @rudy,

if you get exception in try block you cant get the activity name, so use only on try catch block for entire project(in main/starting xaml alone use the try catch block)

In main/starting xaml alone use try catch block inside you call another xaml file **invoke other xaml file**.(so the entire project only one try catch block need to use so only you can get the activity name.

Regards,  
Arivu

---

_[View the full topic](https://forum.uipath.com/t/exception-location/20518)._
