The Free Software Media System - Server Backend & API
Avoid null ref in logger
Eric Reed1261f51412fe
diff --git a/MediaBrowser.Common.Implementations/Security/PluginSecurityManager.cs b/MediaBrowser.Common.Implementations/Security/PluginSecurityManager.csindex d953012f10..6cb9161bce 100644--- a/MediaBrowser.Common.Implementations/Security/PluginSecurityManager.cs+++ b/MediaBrowser.Common.Implementations/Security/PluginSecurityManager.cs@@ -216,7 +216,7 @@ namespace MediaBrowser.Common.Implementations.Security}catch (Exception e){- _logger.ErrorException("Error registering appstore purchase {0}", e, parameters);+ _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 automaticallythrow new ApplicationException("Error registering store sale");}