Skip to content

Commit

Permalink
Update index.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
NorthernMan54 committed Nov 30, 2024
1 parent 320c0f6 commit f9ffb4b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -417,12 +417,11 @@ export class HapClient extends EventEmitter {
characteristic.value = c.value;
service.values[characteristic.type] = c.value;
});

return service;
} catch (e) {
this.debug(`[HapClient] +${e}`);
this.logger.error(`[HapClient] Failed to refresh characteristics for ${service.serviceName}: ${e.message}`);
}
return service;
}

async getCharacteristic(service: ServiceType, iid: number): Promise<CharacteristicType> {
Expand Down

0 comments on commit f9ffb4b

Please sign in to comment.