Skip to content

Commit

Permalink
fix(logging): more accurate idle/busy queue logging
Browse files Browse the repository at this point in the history
See https://discord.com/channels/1111193770935996459/1111193771820974112/1298691612125167717

This is my first typescript change and I do NOT have a dev environment, I did test in a playground, but please review thoroughly.
  • Loading branch information
The00Dustin authored Oct 23, 2024
1 parent c7800aa commit 33177d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/zwave-js/src/lib/driver/Driver.ts
Original file line number Diff line number Diff line change
Expand Up @@ -715,7 +715,7 @@ export class Driver extends TypedEventEmitter<DriverEventCallbacks>
}
private set queueIdle(value: boolean) {
if (this._queueIdle !== value) {
this.driverLog.print(`all queues ${value ? "idle" : "busy"}`);
this.driverLog.print(`${value ? "all queues idle" : "one or more queues busy"}`);
this._queueIdle = value;
this.handleQueueIdleChange(value);
}
Expand Down

0 comments on commit 33177d5

Please sign in to comment.