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:
Roland Rossgotterer
2019-04-25 14:35:21 +02:00
committed by Klaus Basan
parent 1ceb84f591
commit d21e9e60e8

View File

@@ -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())