Forum Discussion
Stuart_Weenig
Mastermind
2 years agoFor PropertySources and AD scripts (and i think ConfigSources), if the script returns a non-zero value, LM is supposed to ignore the task output altogether. So that should be codable using try blocks. Are you saying there are modules where failure can happen and it still returns a 0 without all the previously known properties? Which module(s)?
We don’t have access to the code that does system discovery though so system.ips getting changed when a discovery task fails is worrysome.