Changed the exception type to check any catching error