mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-06-19 18:03:56 +02:00
[yabridgectl] Make scanning errors non-fatal
This should never occur, but somehow people have text files with .dll or .vst3 extensions in their plugin directories. This resolves #185.
This commit is contained in:
@@ -36,7 +36,7 @@ pub struct Pe32Info {
|
||||
pub fn parse_pe32_binary<P: AsRef<Path>>(binary: P) -> Result<Pe32Info> {
|
||||
parse_pe32_goblin(&binary).or_else(|err| {
|
||||
parse_pe32_winedump(binary)
|
||||
.with_context(|| format!("Parsing with goblin also failed: {err}"))
|
||||
.with_context(|| format!("Failed to parse with both winedump and goblin: {err}"))
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user