Skip to content

Commit 1a1994a

Browse files
authored
Merge pull request #2676 from UltimateHackingKeyboard/fix-improve-agent-upgrade-message
fix: log message of firmware contains newer user config version
2 parents bf1150b + 12da52d commit 1a1994a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/uhk-agent/src/services/device.service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -510,7 +510,7 @@ export class DeviceService {
510510
checkFirmwareAndDeviceCompatibility(packageJson, uhkDeviceProduct);
511511
if (shouldUpgradeAgent(packageJson.userConfigVersion, this.disableAgentUpgrade)) {
512512
response.failReason = FirmwareUpgradeFailReason.UserConfigVersionNotSupported;
513-
this.logService.error(`[DeviceService] Firmware contains newer ${packageJson.userConfigVersion} user config version than what Agent supports`);
513+
this.logService.error(`[DeviceService] The firmware contains ${packageJson.userConfigVersion} user config version, which is newer than ${VERSIONS.userConfigVersion} which this Agent supports. Minor version check is used.`);
514514

515515
return event.sender.send(IpcEvents.device.updateFirmwareReply, response);
516516
}

0 commit comments

Comments
 (0)