Excel sheet duplicated from dt

To handle server or application crashes, your need a transactional framework that read each pdf file and writes each pdf data and does logging. You may want to consider the REFramework.

Robot crashes on the other hand, could be totally different issue. Why should you create a script to handle UiPath Robot crashes when the script depends on the UiPath Robot to run? Are you certain the UiPath Robot crash will be after the try-catch ? Before?