Skip to content

Conversation

@taooceros
Copy link
Member

@taooceros taooceros commented Feb 21, 2021

fix #357
This may because HttpClient throws TaskCanceledException when timeout instead of HttpException, which is previously thrown by the old HttpWebRequest.

@taooceros taooceros added this to the 1.8.0 milestone Feb 21, 2021
@jjw24
Copy link
Member

jjw24 commented Feb 21, 2021

just changed it to avoid logging

@jjw24 jjw24 enabled auto-merge February 21, 2021 18:00
@jjw24 jjw24 added the bug Something isn't working label Feb 21, 2021
jjw24
jjw24 previously approved these changes Feb 21, 2021
@taooceros
Copy link
Member Author

Hold on, we should keep taskcancelledexception with log, because it means timeout.

@jjw24 jjw24 disabled auto-merge February 21, 2021 18:02
@jjw24
Copy link
Member

jjw24 commented Feb 21, 2021

oh ok right
will revert

@jjw24
Copy link
Member

jjw24 commented Feb 21, 2021

lets release a hotfix to master as well, this issue is going to be experienced by users with auto update on

@jjw24 jjw24 force-pushed the fixErrorHandlingInUpdater branch from 4ee47f1 to 2f9d4d1 Compare February 21, 2021 18:06
@jjw24 jjw24 enabled auto-merge February 21, 2021 18:07
@jjw24 jjw24 modified the milestones: 1.8.0, 1.7.2 Feb 21, 2021
@taooceros
Copy link
Member Author

Remember to bump the version so that it will be downloaded automatically by user(although I think user with this issue may be hard to auto update).

@jjw24
Copy link
Member

jjw24 commented Feb 21, 2021

yeah true...

@jjw24 jjw24 merged commit 564974c into dev Feb 21, 2021
@jjw24 jjw24 deleted the fixErrorHandlingInUpdater branch February 21, 2021 18:16
@jjw24 jjw24 mentioned this pull request Feb 21, 2021
@taooceros
Copy link
Member Author

Hmmm sorry that seems I add the wrong issue handling....... It seems that the actual error that has been thrown is operationcanceledexception.....
My bad😖

@jjw24
Copy link
Member

jjw24 commented Feb 23, 2021

All good. Let's fix it up

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Application crash from time to time

3 participants