handle exception(PRODUCTION)