From d8a9c3d722cfb8a90e031917b52d275f0bb1b224 Mon Sep 17 00:00:00 2001 From: Alex Talarico <3521183+getalex@users.noreply.github.com> Date: Fri, 5 Jul 2024 13:36:25 -0400 Subject: [PATCH] Added log entry on catalog item migration warnings Added a call to LogErrorToFile so that warnings are also captured in the output log file. --- .../reporting-services/ssrs-migration-rss/ssrs_migration.rss | 1 + 1 file changed, 1 insertion(+) diff --git a/samples/features/reporting-services/ssrs-migration-rss/ssrs_migration.rss b/samples/features/reporting-services/ssrs-migration-rss/ssrs_migration.rss index 49164e10..81f2f3f3 100644 --- a/samples/features/reporting-services/ssrs-migration-rss/ssrs_migration.rss +++ b/samples/features/reporting-services/ssrs-migration-rss/ssrs_migration.rss @@ -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()