Skip to content

Commit

Permalink
Fix log
Browse files Browse the repository at this point in the history
  • Loading branch information
bertrandda committed Dec 3, 2024
1 parent 5298664 commit dd7c8dd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion server/services/google-cast/lib/google_cast.setValue.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,9 @@ async function setValue(device, deviceFeature, value, options) {
client.setVolume({ level: options.volume / 100 }, (err, newvol) => {
if (err) {
logger.debug('there was an error setting the volume');

Check warning on line 29 in server/services/google-cast/lib/google_cast.setValue.js

View check run for this annotation

Codecov / codecov/patch

server/services/google-cast/lib/google_cast.setValue.js#L29

Added line #L29 was not covered by tests
} else {
logger.debug('volume changed to %s', newvol);
}
logger.debug('volume changed to %s', newvol);
});
}

Expand Down

0 comments on commit dd7c8dd

Please sign in to comment.