Skip to content

Failure Analysis for InvalidConfigurationPropertyValueException is skipped when the property is not set #33261

Closed
@snicoll

Description

@snicoll

There are a number of places where we throw InvalidConfigurationPropertyValueException to indicate that a value should have been set. WavefrontProperties does so if the API token has not been set.

The related InvalidConfigurationPropertyValueFailureAnalyzer has no effect as it tries to find a property in the environment that matches the one in the exception. If no property is set, the analysis doesn't do anything and the raw exception is thrown.

I don't know what's the best course of action for this is. Invalid and missing are two different things and I am not sure the failure analyzer should be the one deciding which is which.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions