clash-rs icon indicating copy to clipboard operation
clash-rs copied to clipboard

improve log when proxy type is not supported

Open Itsusinn opened this issue 10 months ago • 4 comments

error: process didn't exit successfully: target\debug\clash-rs.exe --config config.yaml (exit code: 1)

Itsusinn avatar Feb 11 '25 12:02 Itsusinn

we did not print the error msg after the failing of clash::start_scaffold

VendettaReborn avatar Feb 14 '25 14:02 VendettaReborn

for unknown fields in config, i think we could derive better ways of catching all the unknown fields at once,instead of reporting the error (this is still not done yet) one by one.

VendettaReborn avatar Feb 14 '25 14:02 VendettaReborn

we did not print the error msg after the failing of clash::start_scaffold

we can println!("{:#}", error) as I tried last day

Itsusinn avatar Feb 14 '25 23:02 Itsusinn

for unknown fields in config, i think we could derive better ways of catching all the unknown fields at once,instead of reporting the error (this is still not done yet) one by one.

How serde handle this behavior, can we change that?

Itsusinn avatar Feb 14 '25 23:02 Itsusinn