modifyOn promise intercept and log on reject