Better warning message

This commit is contained in:
2025-05-22 19:40:54 +08:00
parent f46a2824e8
commit dbfb13f21d

View File

@@ -304,8 +304,8 @@ impl Script for CircusMesScript {
let mut text = encode_string(encoding, &s, false)?;
if text.contains(&self.info.deckey) {
eprintln!(
"Warning: text contains deckey, text may be truncated: {}",
s
"Warning: text contains deckey 0x{:02X}, text may be truncated: {}",
self.info.deckey, s,
);
crate::COUNTER.inc_warning();
}