Forum Discussion
sam_parsons
12 years agoOccasional Contributor
Simon,
Right, but my concern isn't whether or not the object exists, but rather that the error is being logged. WaitAliasChild should not be logging anything.
The end goal I want with my code is for WaitAliasChild to return a stub object as the documentation says, for the exists property to return false, and as a result the while loop would be skipped. It is not supposed to log any errors if it cannot find the object.
Samuel Parsons
Right, but my concern isn't whether or not the object exists, but rather that the error is being logged. WaitAliasChild should not be logging anything.
The end goal I want with my code is for WaitAliasChild to return a stub object as the documentation says, for the exists property to return false, and as a result the while loop would be skipped. It is not supposed to log any errors if it cannot find the object.
Samuel Parsons