Catch more exceptions.