log error in require files