diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2015-10-20 18:06:59 -0400 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2015-10-20 18:06:59 -0400 |
| commit | b820fafb8cdfd64c213b1be5906c0bad916b5b78 (patch) | |
| tree | 8a9a4b94dcffd59a7286e070b6146268c2b994ec /MediaBrowser.Common.Implementations/Security/PluginSecurityManager.cs | |
| parent | bc3da4bbad3893c48bf7be6091d3e8fee7086327 (diff) | |
| parent | eb106a9d797ac04213c5d092a0489cb267f5bd78 (diff) | |
Merge branch 'dev' of https://github.com/MediaBrowser/Emby into dev
Diffstat (limited to 'MediaBrowser.Common.Implementations/Security/PluginSecurityManager.cs')
| -rw-r--r-- | MediaBrowser.Common.Implementations/Security/PluginSecurityManager.cs | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/MediaBrowser.Common.Implementations/Security/PluginSecurityManager.cs b/MediaBrowser.Common.Implementations/Security/PluginSecurityManager.cs index 6cb9161bc..28c3bbb7b 100644 --- a/MediaBrowser.Common.Implementations/Security/PluginSecurityManager.cs +++ b/MediaBrowser.Common.Implementations/Security/PluginSecurityManager.cs @@ -1,4 +1,5 @@ -using MediaBrowser.Common.Configuration; +using System.IO; +using MediaBrowser.Common.Configuration; using MediaBrowser.Common.Net; using MediaBrowser.Common.Security; using MediaBrowser.Model.Entities; @@ -217,7 +218,9 @@ namespace MediaBrowser.Common.Implementations.Security catch (Exception e) { _logger.ErrorException("Error registering appstore purchase {0}", e, parameters ?? "NO PARMS SENT"); - //TODO - really need to write this to a file so we can re-try it automatically + //Save all transaction information to a file + File.WriteAllText(Path.Combine(_appPaths.ProgramDataPath, "apptrans-error.txt"), parameters); + //TODO - could create a re-try routine on start-up if this file is there. For now we can handle manually. throw new ApplicationException("Error registering store sale"); } |
