Also catch ValueError, for example if user doesn't enter anything.