Patterns: Add warning when control was not found
This commit is contained in:
@@ -89,6 +89,9 @@ Namespace Modules
|
|||||||
End Select
|
End Select
|
||||||
|
|
||||||
oResult = ReplacePattern(oResult, PatternIdentifier, oReplaceValue)
|
oResult = ReplacePattern(oResult, PatternIdentifier, oReplaceValue)
|
||||||
|
Else
|
||||||
|
Logger.Warn("Control [{0}] was not found. Exiting.")
|
||||||
|
Exit While
|
||||||
End If
|
End If
|
||||||
Catch ex As Exception
|
Catch ex As Exception
|
||||||
Logger.Error(ex)
|
Logger.Error(ex)
|
||||||
|
|||||||
Reference in New Issue
Block a user