diff --git a/Patterns/Modules/Controls.vb b/Patterns/Modules/Controls.vb index 4c4f7e56..2b1cfc3e 100644 --- a/Patterns/Modules/Controls.vb +++ b/Patterns/Modules/Controls.vb @@ -89,6 +89,9 @@ Namespace Modules End Select oResult = ReplacePattern(oResult, PatternIdentifier, oReplaceValue) + Else + Logger.Warn("Control [{0}] was not found. Exiting.") + Exit While End If Catch ex As Exception Logger.Error(ex)