Patterns: Add warning when control was not found

This commit is contained in:
Jonathan Jenne 2023-07-24 10:43:55 +02:00
parent 03f81938ae
commit 05a590b169

View File

@ -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)