We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c7e2b55 commit e51d1aaCopy full SHA for e51d1aa
rust/src/files.rs
@@ -78,7 +78,11 @@ pub fn uncompress(
78
} else if extension.eq_ignore_ascii_case(GZ) {
79
untargz(file, target, log)?
80
} else if extension.eq_ignore_ascii_case(XML) {
81
- return Err("Wrong browser/driver version".into());
+ log.debug(format!(
82
+ "Wrong downloaded driver: {}",
83
+ fs::read_to_string(compressed_file).unwrap_or_default()
84
+ ));
85
+ return Err(PARSE_ERROR.into());
86
} else {
87
return Err(format!(
88
"Downloaded file cannot be uncompressed ({} extension)",
0 commit comments