change from exception to log warning