mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-05-06 19:40:10 +02:00
[yabridgectl] Add another hint to parsing errors
This commit is contained in:
@@ -96,7 +96,9 @@ fn parse_pe32_winedump<P: AsRef<Path>>(binary: P) -> Result<Pe32Info> {
|
||||
}
|
||||
Err(_) => None,
|
||||
})
|
||||
.ok_or_else(|| anyhow!("Winedump output did not contain a 'Machine:' line"))?;
|
||||
.ok_or_else(|| {
|
||||
anyhow!("Winedump output did not contain a 'Machine:' line. Is a text file?")
|
||||
})?;
|
||||
|
||||
// And we'll just parse _all_ exported functions. Previously we would only check whether this
|
||||
// contrained certain entries, but efficiency isn't too important here anyways since this is
|
||||
|
||||
Reference in New Issue
Block a user