File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
apps/common/src/main/scala/org/lfdecentralizedtrust/splice/environment Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -229,12 +229,12 @@ abstract class HttpAppConnection(
229229 val myVersion = BuildInfo .compiledVersion
230230 val compatibleVersion = BuildInfo .compatibleVersion
231231 if (versionInfo.version != myVersion && versionInfo.version != compatibleVersion) {
232- val errorMsg = s " Version mismatch detected, please download the latest bundle. " +
233- s " Your executable is on $myVersion, while the application you are connecting to is on ${versionInfo.version}"
232+ val msg =
233+ s " Version mismatch detected: your executable is on $myVersion, while the application you are connecting to is on ${versionInfo.version}. "
234234 if (upgradesConfig.failOnVersionMismatch)
235- sys.error(errorMsg )
235+ sys.error(s " $msg . Please download the latest bundle. " )
236236 else
237- logger.info(errorMsg )(TraceContext .empty)
237+ logger.info(s " $msg . Consider downloading the latest bundle. " )(TraceContext .empty)
238238 } else {
239239 logger.debug(
240240 s " Version verification passed for $serviceName, server is on the same version as mine, or a compatible one: ${versionInfo}"
You can’t perform that action at this time.
0 commit comments