Sometimes, automation program may fail to execute. To deal with such cases, we use exception handling activities. In this chapter, we start with the various types of exception handling method available in UiPath, the exceptions that you may encounter, and how to deal with them. We will also learn about logging. An important topic covered in this chapter is debugging to check whether workflows are working properly or not and to rectify any errors.
Before we begin, let us look at the topics that will be covered in this chapter:
- Exception handling
- Common exceptions and ways to handle them
- Logging and taking screenshots
- Debugging techniques
- Collecting crash dumps
- Error reporting