Officer recovering after being shot during an arrest