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 0e41524b..19d95981 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'); + throw new Error('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 b831597c..3130450d 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'); + throw Error('Invalid hardware configuration (Invalid signature)'); } return hardwareConfig;