mirror of
https://github.com/clash-verge-rev/clash-verge-rev
synced 2025-05-05 06:53:44 +08:00
fix: try fix blank error
This commit is contained in:
parent
b5142b8ef5
commit
edd224a185
@ -68,6 +68,10 @@ impl CoreManager {
|
|||||||
|
|
||||||
if !output.status.success() {
|
if !output.status.success() {
|
||||||
let error = clash_api::parse_check_output(output.stdout.clone());
|
let error = clash_api::parse_check_output(output.stdout.clone());
|
||||||
|
let error = match error.len() > 0 {
|
||||||
|
true => error,
|
||||||
|
false => output.stdout.clone(),
|
||||||
|
};
|
||||||
Logger::global().set_log(output.stdout);
|
Logger::global().set_log(output.stdout);
|
||||||
bail!("{error}");
|
bail!("{error}");
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user