rss-bridge icon indicating copy to clipboard operation
rss-bridge copied to clipboard

TODO: Correct error handling of curl related errors

Open em92 opened this issue 4 years ago • 2 comments

Like this one: https://github.com/RSS-Bridge/rss-bridge/issues/2157

It should not show "Unexpected response from upstream", since there is even no response.

em92 avatar Dec 09 '21 01:12 em92

These cases are network related errors such as DNS lookup failure, timeouts and TLS-related errors and I dont think there is much else to do other than showing the curl error and error code?

dvikan avatar Dec 09 '21 08:12 dvikan

These cases are network related errors such as DNS lookup failure, timeouts and TLS-related errors and I dont think there is much else to do other than showing the curl error and error code?

You are probably right. The main reason of this issue is at the moment incorrect message given on errors like you described.

em92 avatar Dec 09 '21 10:12 em92

rss-bridge now gives more details about these type of errors

dvikan avatar Sep 12 '23 22:09 dvikan