TODO: Correct error handling of curl related errors
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.
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?
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.
rss-bridge now gives more details about these type of errors