cubicweb/server/repository.py
branch3.26
changeset 12747 36d4a8ec1fb7
parent 12240 8eb15566142f
child 12749 ff63319a1730
--- a/cubicweb/server/repository.py	Thu Jun 20 16:18:19 2019 +0200
+++ b/cubicweb/server/repository.py	Wed Jun 26 02:32:02 2019 +0200
@@ -600,8 +600,8 @@
                         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
 
     @cached