Commit b928ac14 authored by Laurent Peuch's avatar Laurent Peuch
Browse files

[ux] display instance name in suggested upgrade command

branch : 3.26
parent 6bcd8899f71b
......@@ -600,8 +600,8 @@ class Repository(object):
fsversion = self.config.cubicweb_version()
if version < fsversion:
msg = ('instance has %s version %s but %s '
'is installed. Run "cubicweb-ctl upgrade".')
raise ExecutionError(msg % (cube, version, fsversion))
'is installed. Run "cubicweb-ctl upgrade %s".')
raise ExecutionError(msg % (cube, version, fsversion, self.config.appid))
return vcconf
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment