Both approaches should work, if the difference in behavior is caused by a difference in data (and not the configuration of the environment, for example).
Hi Martin,
I'm 90% sure it fails there.. and i know that because i traced code and i think it fails there.
It seems i didn't catch system.Exception in my code that's why i can't see why it fails.
so i need to add it and release code to test environment again
If i export UAT DB to my dev machine... willl i be able to debug the error?
or i need to connect my DEV environment to the test database in order to know?
How did you determine that it failed at this line?
Didn't you get an exception? If so, what is its type and what is the error message?
What do you mean by "couldn't catch the error"? Maybe you're trying to catch Exception::Error instead of Exception::CLRError (or System.Exception).
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Andrés Arias as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Sohaib Cheema 764 User Group Leader
Martin Dráb 619 Most Valuable Professional
André Arnaud de Cal... 603 Super User 2025 Season 2