mu-store: fix warning schema mismatch message

Fixes: #2069.
This commit is contained in:
Dirk-Jan C. Binnema
2021-07-31 17:51:19 +03:00
parent 793eca1585
commit 78ef8ddcbb

View File

@ -291,7 +291,6 @@ Store::Store (const std::string& path, bool readonly):
{ {
if (metadata().schema_version != ExpectedSchemaVersion) if (metadata().schema_version != ExpectedSchemaVersion)
throw Mu::Error(Error::Code::SchemaMismatch, throw Mu::Error(Error::Code::SchemaMismatch,
"expected schema-version %s, but got %s",
"expected schema-version %s, but got %s; " "expected schema-version %s, but got %s; "
"please use 'mu init'", "please use 'mu init'",
ExpectedSchemaVersion, ExpectedSchemaVersion,