Skip to content

Commit

Permalink
Remove trace code (#76)
Browse files Browse the repository at this point in the history
  • Loading branch information
shibayan authored Apr 10, 2021
1 parent d8135aa commit 948ae0b
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 8 deletions.
11 changes: 3 additions & 8 deletions WinQuickLook/Extensions/QuickLookHandlerExtensions.cs
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
using System;
using System.IO;
using System.IO;
using System.Windows;

using Microsoft.AppCenter.Crashes;

using WinQuickLook.Handlers;

namespace WinQuickLook.Extensions
Expand All @@ -18,12 +15,10 @@ public static (FrameworkElement, Size, string) GetViewerWithHandleError(this IQu
{
return (handler ?? _genericFileHandler).GetViewer(fileInfo);
}
catch (Exception ex)
catch
{
Crashes.TrackError(ex);
return _genericFileHandler.GetViewer(fileInfo);
}

return _genericFileHandler.GetViewer(fileInfo);
}
}
}
8 changes: 8 additions & 0 deletions nuget.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<packageSources>
<!--To inherit the global NuGet package sources remove the <clear/> line below -->
<clear />
<add key="nuget" value="https://api.nuget.org/v3/index.json" />
</packageSources>
</configuration>

0 comments on commit 948ae0b

Please sign in to comment.