Forum Discussion
AlexKaras
Champion Level 3
Hi Anik,
> And we can't do log.error in the On_LogError event...
Actually, you can at the cost of introduction another boolean public variable.
VBScript pseudocode:
Dim boolInLogErrorHandler : boolInLogErrorHandler = False
...
Sub OnLogError()
If (boolInLogErrorHandler) Then _
Exit Sub
boolInLogErrorHandler = True
...
Call Log.Error(...)
boolInLogErrorHandler = False
End Sub
> And we can't do log.error in the On_LogError event...
Actually, you can at the cost of introduction another boolean public variable.
VBScript pseudocode:
Dim boolInLogErrorHandler : boolInLogErrorHandler = False
...
Sub OnLogError()
If (boolInLogErrorHandler) Then _
Exit Sub
boolInLogErrorHandler = True
...
Call Log.Error(...)
boolInLogErrorHandler = False
End Sub
anik_cadieux
9 years agoContributor
Hi AlexKaras,
We fell into this problem again.
Although the code you provided, we are still unable to manage the "post image on error" functionality.
Do you have any idea if the new TC 10 provide a way to control such Project Properties ?
Thank you!
Anik
Related Content
- 4 years agoSuperTester
- 5 months agommaloney
- 3 years agoLRuoc