shadowsocks / shadowsocks-windows

A C# port of shadowsocks
Other
58.47k stars 16.4k forks source link

Correctly handle the deserialization error #3335

Open eebssk1 opened 2 years ago

eebssk1 commented 2 years ago

What is the purpose of your pull request?


Description of your pull request and other information

Correctly handle the deserialization error. Also backup the config.

eebssk1 commented 2 years ago

May fix #3333. A more accurate exception will add to the list if it does not match the declaration from Configuration.

chenshaoju commented 2 years ago

Thanks for sending the pull request, please wait for the developer to review the code. 👏