Catch exception when clean script is called

just use a print instead of log.error