diff --git a/packages/uhk-common/src/config-serializer/config-items/hardware-configuration.ts b/packages/uhk-common/src/config-serializer/config-items/hardware-configuration.ts index 19d95981..01737aa7 100644 --- a/packages/uhk-common/src/config-serializer/config-items/hardware-configuration.ts +++ b/packages/uhk-common/src/config-serializer/config-items/hardware-configuration.ts @@ -53,7 +53,7 @@ export class HardwareConfiguration { this.isIso = buffer.readBoolean(); return this; } catch (e) { - throw new Error('Invalid hardware configuration (Index out of bounds)'); + throw new Error('Please power cycle your keyboard (Invalid hardware configuration: Index out of bounds)'); } } diff --git a/packages/uhk-common/src/util/helpers.ts b/packages/uhk-common/src/util/helpers.ts index 3130450d..efc9d159 100644 --- a/packages/uhk-common/src/util/helpers.ts +++ b/packages/uhk-common/src/util/helpers.ts @@ -10,7 +10,7 @@ export const getHardwareConfigFromDeviceResponse = (json: string): HardwareConfi } if (hardwareConfig.signature !== 'UHK') { - throw Error('Invalid hardware configuration (Invalid signature)'); + throw Error('Please power cycle your keyboard (Invalid hardware configuration: Invalid signature)'); } return hardwareConfig;