Skip to content

Commit

Permalink
feat: Log pyatv output of push_updates
Browse files Browse the repository at this point in the history
  • Loading branch information
sebbo2002 committed Nov 17, 2023
1 parent 4f03315 commit fc2618c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/lib/device-events.ts
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,10 @@ export default class NodePyATVDeviceEvents extends EventEmitter {
.split('\n')
.map(s => s.trim())
.filter(Boolean)
.forEach(s => this.parsePushUpdate(reqId, s));
.forEach(s => {
debug(reqId, `> ${s}`, this.options);
this.parsePushUpdate(reqId, s);
});
};
const onClose = (code: number) => {
if(this.pyatv === undefined) {
Expand Down

0 comments on commit fc2618c

Please sign in to comment.