Merge pull request #1313 from getalex/patch-5

Added log entry on catalog item migration warnings
This commit is contained in:
Umachandar Jayachandran
2024-07-19 09:24:50 -07:00
committed by GitHub
@@ -579,6 +579,7 @@ Function MigrateCatalogItem(srcItem As CatalogItem) As CatalogItem
For Each w As Warning In warnings
If w.Code <> "rsDataSourceReferenceNotPublished" And w.Code <> "rsDataSetReferenceNotPublished" Then 'This should be fine after re-linking
Console.WriteLine("Warning: " + w.Message)
LogErrorToFile("CATALOGITEM", "Warning: " + srcItem.Path, w.Message)
End If
Next
Console.ResetColor()