update image encoding

This commit is contained in:
Luke Pulverenti
2015-10-28 15:40:38 -04:00
parent 813c715489
commit 9b998a068a
27 changed files with 239 additions and 129 deletions

View File

@@ -219,6 +219,10 @@ namespace MediaBrowser.Common.Implementations.Security
{
SupporterKey = reg.key;
}
else
{
throw new PaymentRequiredException();
}
}
}
@@ -227,6 +231,11 @@ namespace MediaBrowser.Common.Implementations.Security
SaveAppStoreInfo(parameters);
throw;
}
catch (PaymentRequiredException)
{
SaveAppStoreInfo(parameters);
throw;
}
catch (Exception e)
{
_logger.ErrorException("Error registering appstore purchase {0}", e, parameters ?? "NO PARMS SENT");