Skip to content
This repository has been archived by the owner on Mar 9, 2021. It is now read-only.

Commit

Permalink
#323 Handle failure in agreeing to Tumblr privacy consent
Browse files Browse the repository at this point in the history
  • Loading branch information
johanneszab committed Dec 8, 2018
1 parent 1662200 commit c9c5b2a
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 5 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -147,8 +147,11 @@
<data name="Body" xml:space="preserve">
<value>Body: {0]</value>
</data>
<data name="ConfirmingTumblrPrivacyConsent" xml:space="preserve">
<value>confirming to the Tumblr privacy consent</value>
</data>
<data name="ConfirmingTumblrPrivacyConsentFailed" xml:space="preserve">
<value>Confirming the Tumblr privacy consent failed. There might a connection issue.</value>
<value>Confirming to the Tumblr privacy consent failed. There might be a connection issue.</value>
</data>
<data name="Conversation" xml:space="preserve">
<value>Conversation: {0}</value>
Expand Down Expand Up @@ -347,6 +350,9 @@
<data name="TimeoutReached" xml:space="preserve">
<value>A connection timeout occured during {0} of {1}.</value>
</data>
<data name="TimeoutReachedShort" xml:space="preserve">
<value>A connection timeout occured during {0}.</value>
</data>
<data name="Title" xml:space="preserve">
<value>Title: {0}</value>
</data>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,9 @@ public async Task ConfirmPrivacyConsentAsync()
}
catch (TimeoutException timeoutException)
{
const string message = "confirming the Tumblr privacy consent";
Logger.Error("{0}, {1}", string.Format(CultureInfo.CurrentCulture, Resources.TimeoutReached, message),
Logger.Error("{0}, {1}", string.Format(CultureInfo.CurrentCulture, Resources.TimeoutReachedShort, Resources.ConfirmingTumblrPrivacyConsent),
timeoutException);
shellService.ShowError(timeoutException, Resources.TimeoutReached, message);
shellService.ShowError(timeoutException, Resources.ConfirmingTumblrPrivacyConsentFailed);
}
catch (Exception exception)
{
Expand Down

0 comments on commit c9c5b2a

Please sign in to comment.