Catch not found exception to avoid core dump