def _args_from_exception(exception):
    """In Python 3 we can't guarantee that an exception will have a `message`
    property. This function ensures that we can extract *args and have it
    include at least one argument, regardless of the exception type passed-in.
    """
    if exception.args:
        return exception.args
    if hasattr(exception, "message"):
        return (exception.message,)
    return (str(exception),)