Browse Source

Added a appropriate comment

CPKreuz 1 year ago
parent
commit
56a622f68b
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/PixiEditor/Models/DataProviders/LocalPalettesFetcher.cs

+ 1 - 0
src/PixiEditor/Models/DataProviders/LocalPalettesFetcher.cs

@@ -225,6 +225,7 @@ internal class LocalPalettesFetcher : PaletteListDataSource
         {
             await RefreshCacheAll();
             
+            // Using try-catch to generate stack trace
             try
             {
                 throw new NullReferenceException($"The '{nameof(updated)}' was null even though the refresh type was '{refreshType}'.");