mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-30 11:55:35 +08:00
Don't stop connection to xswiftbus if versions do not match
Keep the version error to bring it to the users attenion and convince him to upgrade. But let the connection proceed since the interface changes so rarely. This also adds version information for swift and xswiftbus sides. Reviewers: #gatekeepers, msutcliffe Subscribers: msutcliffe Maniphest Tasks: T628 Differential Revision: https://dev.swift-project.org/D104
This commit is contained in:
committed by
Klaus Basan
parent
1ceb84f591
commit
d21e9e60e8
@@ -1272,8 +1272,7 @@ namespace BlackSimPlugin
|
||||
}
|
||||
else if (swiftVersion != xswiftbusVersion)
|
||||
{
|
||||
CLogMessage(this).error(u"You are using an incorrect version of XSwiftBus. The version of XSwiftBus must match the version of swift being %1.") << swiftVersion;
|
||||
return;
|
||||
CLogMessage(this).error(u"You are using an incorrect version of XSwiftBus. The version of XSwiftBus (%1) should match the version of swift (%2). Consider upgrading!") << xswiftbusVersion << swiftVersion;
|
||||
}
|
||||
|
||||
if (!traffic.initialize())
|
||||
|
||||
Reference in New Issue
Block a user