-
Notifications
You must be signed in to change notification settings - Fork 224
Closed
Description
If an event source fails to start and the error code is 404, the DefaultEventSourceManager
wraps it with a MissingCRDException
[1] which the ConfiguredController
re-wrap and include details about the CRD of the controller resulting in a misleading message as the exception will report that the CRD of the controller is missing but it may not be the case.
[1] https://github.com/java-operator-sdk/java-operator-sdk/blob/master/operator-framework-core/src/main/java/io/javaoperatorsdk/operator/processing/event/DefaultEventSourceManager.java#L92-L97
[2] https://github.com/java-operator-sdk/java-operator-sdk/blob/master/operator-framework-core/src/main/java/io/javaoperatorsdk/operator/processing/ConfiguredController.java#L177-L182
Metadata
Metadata
Assignees
Labels
No labels