Add support version in exception output

The latest version of Incompatible check exception Shows
in the exception output but the supported version is not listed.

Change-Id: Ia9f433342b1b233e119613470a829608085de10c
Related-Bug: 1773393
This commit is contained in:
jichen 2018-05-28 13:59:05 +08:00
parent 337cd36459
commit fe2207f9f3
1 changed files with 2 additions and 1 deletions

View File

@ -155,7 +155,8 @@ class OrphanedObjectError(VersionedObjectsException):
class IncompatibleObjectVersion(VersionedObjectsException):
msg_fmt = _('Version %(objver)s of %(objname)s is not supported')
msg_fmt = _('Version %(objver)s of %(objname)s is not supported, '
'supported version is %(supported)s')
class ReadOnlyFieldError(VersionedObjectsException):