CSPACE-5943: Added missing 'catch' block.