-
Daniel Quinn authored
In a case where a `KeyError` is raised, the exception is caught, but then it tried to reference `ex.message`, which doesn't exist for KeyErrors in modern versions of Python. Using `str(ex)` should deliver the same result.
In a case where a `KeyError` is raised, the exception is caught, but then it tried to reference `ex.message`, which doesn't exist for KeyErrors in modern versions of Python. Using `str(ex)` should deliver the same result.