tweak error msg

This commit is contained in:
Jean-Marie Mineau 2025-04-18 11:41:01 +02:00
parent 218d6bf6fc
commit 3cc02a3292
Signed by: histausse
GPG key ID: B66AEEDA9B645AD2

View file

@ -1,6 +1,6 @@
//! Representation of an apk.
use anyhow::{Context, anyhow, bail};
use anyhow::{anyhow, bail, Context};
use serde::{Deserialize, Serialize};
use std::collections::{HashMap, HashSet};
use std::fs::File;
@ -11,9 +11,9 @@ use log::{error, info};
#[cfg(feature = "python")]
use pyo3::{prelude::*, types::PyBytes};
use crate::Result;
use crate::ins::CallSite;
use crate::instructions;
use crate::Result;
use crate::*;
use androscalpel_serializer::Instruction as InsFormat;
use androscalpel_serializer::*;
@ -3079,7 +3079,7 @@ impl Apk {
}
Ok(())
} else {
bail!("Could not recognize the type of the input file")
bail!("Could not recognize the type of the input file (neither dex nor zip)")
}
}
}