aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Common.Implementations/Security/PluginSecurityManager.cs
diff options
context:
space:
mode:
authorEric Reed <ebr@mediabrowser3.com>2015-10-16 18:36:34 -0400
committerEric Reed <ebr@mediabrowser3.com>2015-10-16 18:36:34 -0400
commit1261f51412fe6c3ddab12f615026b2c4ecc4b62b (patch)
tree79947cc1a3fbc9d270f9fef0b3bdb00ed4386036 /MediaBrowser.Common.Implementations/Security/PluginSecurityManager.cs
parent5d74fcbb87e20fb1a52b6ad2650ced97e8ad12e7 (diff)
Avoid null ref in logger
Diffstat (limited to 'MediaBrowser.Common.Implementations/Security/PluginSecurityManager.cs')
-rw-r--r--MediaBrowser.Common.Implementations/Security/PluginSecurityManager.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/MediaBrowser.Common.Implementations/Security/PluginSecurityManager.cs b/MediaBrowser.Common.Implementations/Security/PluginSecurityManager.cs
index d953012f1..6cb9161bc 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 automatically
throw new ApplicationException("Error registering store sale");
}