Browse Source

Move DEBUG statement

Ruben 7 months ago
parent
commit
704fea03d4

+ 2 - 0
src/PicView.Core.WindowsNT/FileAssociation/FileAssociationHelper.cs

@@ -83,7 +83,9 @@ public static class FileAssociationHelper
         }
         catch (Exception ex)
         {
+#if DEBUG
             Debug.WriteLine($"Error unregistering file association: {ex.Message}");
+#endif
             return false;
         }
     }