Using the built in logging (when enabled) all exceptions will be logged to the local machine. Exceptions can be handled by using Try and Catch blocks in your automations. You should use exception handling to ensure that your Robotic Activities complete - an unhandled exception on a Robotic Activity will cause the robot to stop receiving new assignments.
The help system has quite a bit of documentation on the Diagnostic Logging capability. I would suggest starting there.