Some of our Re-usable components, that we have recently created a library for, involve throwing errors. For Example one is called CheckFileExists and will throw an error if the file path provided is invalid. We have had an issue with the Exception Source being non-Descriptive.
When throwing an error from inside custom-activity the exception source just says: System.Activities.
Is there anyway to fix this? Inside the re-usable components I have surrounded everything in a try-Catch and upon error assign the Exception-Source then rethrow. But the issue is now that the source doesn’t tell me exactly where in the main the Error came from.