Skip to content

Commit

Permalink
rebroadcast: add truncation error logging
Browse files Browse the repository at this point in the history
  • Loading branch information
koush committed Mar 28, 2023
1 parent b7904b7 commit 309a1dc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion plugins/prebuffer-mixin/src/file-rtsp-server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,13 +57,14 @@ export class FileRtspServer extends RtspServer {
truncateWriteStream = fs.createWriteStream(undefined, {
fd,
})
// this.writeConsole?.log('truncating', truncate);
}
catch (e) {
throw e;
}
}
catch (e) {
this.writeConsole?.error('RTSP WRITE error renaming truncate file', truncate);
this.writeConsole?.error('RTSP WRITE error during truncate file', truncate, e);
}
}

Expand Down

0 comments on commit 309a1dc

Please sign in to comment.