Maybe catch that exception properly.