Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reinstate reversion of add_relation_unit ValueError to warning (#856)
This was originally coded as a ValueError exception in https://github.com/canonical/operator/pull/795/files#diff-37e8d80748bba21bb08c982f17b7879059bacc8d413b59da998a896fca18be33R713 Then downgraded to a warning in https://github.com/canonical/operator/pull/822/files#diff-37e8d80748bba21bb08c982f17b7879059bacc8d413b59da998a896fca18be33R714 But accidentally reverted to a ValueError when types were being added: https://github.com/canonical/operator/pull/828/files#diff-37e8d80748bba21bb08c982f17b7879059bacc8d413b59da998a896fca18be33 So revert it to a warning as per #822.
- Loading branch information