diff --git a/src/info.rs b/src/info.rs index a3d8c7a..3e57efc 100644 --- a/src/info.rs +++ b/src/info.rs @@ -62,6 +62,10 @@ pub fn set(title: Option, card_type: Option, card_id: Option if len > 0 { eprintln!("warning: provided pgt file is bigger than expected and will be truncated") } + Err(e) => eprintln!("warning: unable to check if pgt file is too long: {}", e) + } } let pcd: PCD = (&pcd.serialize()).try_into()?;