log ip instead of throw it in exception