You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, during discovery if there is any error, the entire operation fails. Instead we need to consider the usage:
if part of a configuration, if the error is not related to the resources actually being used, we can ignore any errors and only emit a message to stderr if --verbose is used
if part of dsc resource list, we can emit a warning type message to stderr but continue discovery listing the results
if direct resource invocation, if that resource is being used, then fail, otherwise same as config above
SteveL-MSFT
changed the title
Make dsc resource list not terminating when hitting an error
Make resource discovery not terminating when hitting an error depending on use case
Aug 1, 2023
Summary of the new feature / enhancement
Currently, during discovery if there is any error, the entire operation fails. Instead we need to consider the usage:
--verbose
is useddsc resource list
, we can emit a warning type message to stderr but continue discovery listing the resultsProposed technical implementation details (optional)
No response
The text was updated successfully, but these errors were encountered: