aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Common.Implementations/Logging
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2014-12-08 23:57:18 -0500
committerLuke Pulverenti <luke.pulverenti@gmail.com>2014-12-08 23:57:18 -0500
commit4548e6598def249d4b0fe4f4f12e2fa16d4f1e3c (patch)
tree781febcb168647c37f027e7893adbb1b9c3dbfc1 /MediaBrowser.Common.Implementations/Logging
parent5eb44c42c586af34dd16efc76240d0d6c8e02069 (diff)
support dvd without video_ts folder
Diffstat (limited to 'MediaBrowser.Common.Implementations/Logging')
-rw-r--r--MediaBrowser.Common.Implementations/Logging/LogHelper.cs5
1 files changed, 5 insertions, 0 deletions
diff --git a/MediaBrowser.Common.Implementations/Logging/LogHelper.cs b/MediaBrowser.Common.Implementations/Logging/LogHelper.cs
index 91e937ca7..8080c2111 100644
--- a/MediaBrowser.Common.Implementations/Logging/LogHelper.cs
+++ b/MediaBrowser.Common.Implementations/Logging/LogHelper.cs
@@ -15,6 +15,11 @@ namespace MediaBrowser.Common.Implementations.Logging
/// <returns>StringBuilder.</returns>
public static StringBuilder GetLogMessage(Exception exception)
{
+ if (exception == null)
+ {
+ throw new ArgumentNullException("exception");
+ }
+
var messageText = new StringBuilder();
messageText.AppendLine(exception.Message);