Fix catching unexisting exception