catch import error in fabric file