Skip to content

Commit 2ff0e11

Browse files
authored
Merge pull request #74 from rubberduck-vba/webhook
Fix xmldoc sync
2 parents 4d57060 + 5de8838 commit 2ff0e11

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

rubberduckvba.Server/ContentSynchronization/Pipeline/Sections/SyncXmldoc/SyncXmldocSection.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -129,8 +129,8 @@ await Task.WhenAll([
129129
}
130130
else
131131
{
132-
// that's an old tag then; do not process
133-
throw new InvalidOperationException($"Tag metadata mismatch, xmldoc update will not proceed; GitHub@main:{ghMain.Name} ({ghMain.DateCreated}) | rubberduckdb@main: {dbMain.Name} ({dbMain.DateCreated})");
132+
// could be an old tag, ...or the db is just out of date
133+
Logger.LogWarning($"Tag metadata mismatch, xmldoc update will not proceed; GitHub@main:{ghMain.Name} ({ghMain.DateCreated}) | rubberduckdb@main: {dbMain.Name} ({dbMain.DateCreated})");
134134
}
135135
}
136136
if (ghNext.Name != dbNext.Name)
@@ -141,8 +141,8 @@ await Task.WhenAll([
141141
}
142142
else
143143
{
144-
// that's an old tag then; do not process
145-
throw new InvalidOperationException($"Tag metadata mismatch, xmldoc update will not proceed; GitHub@main:{ghMain.Name} ({ghMain.DateCreated}) | rubberduckdb@main: {dbMain.Name} ({dbMain.DateCreated})");
144+
// could be an old tag, ...or the db is just out of date
145+
Logger.LogWarning($"Tag metadata mismatch, xmldoc update will not proceed; GitHub@main:{ghNext.Name} ({ghNext.DateCreated}) | rubberduckdb@main: {dbNext.Name} ({dbNext.DateCreated})");
146146
}
147147
}
148148

0 commit comments

Comments
 (0)