diff --git a/src/main.rs b/src/main.rs
index b49f474..b7b913d 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -344,7 +344,7 @@ fn load_image<R:Read+Seek+std::io::BufRead>(input:&mut R)->AResult<image::Dynami
     match &fourcc{
         b"\x89PNG"=>Ok(image::load(input,image::ImageFormat::Png)?),
         b"JPEG"=>Ok(image::load(input,image::ImageFormat::Jpeg)?),
-        _=>Err(anyhow::Error::msg("Unknown texture format")),
+        other=>Err(anyhow::Error::msg(format!("Unknown texture format {:?}",other))),
     }
 }