Improved error handling for the Get process