Skip to content

Commit 5f08ddb

Browse files
committed
rust: handle Result from writer_output to fix CI warning
1 parent 3c7b976 commit 5f08ddb

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/rust/src/decoder/service_decoder.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -891,7 +891,9 @@ impl dtvcc_service_decoder {
891891
encoder.no_bom,
892892
);
893893

894-
tv.writer_output(&mut writer);
894+
if let Err(e) = tv.writer_output(&mut writer) {
895+
warn!("dtvcc::screen_print: writer_output failed: {}", e);
896+
}
895897
tv.clear();
896898
}
897899
}

0 commit comments

Comments
 (0)