diff --git a/pkg/defaults/init.go b/pkg/defaults/init.go index 66a837e..e0f5521 100644 --- a/pkg/defaults/init.go +++ b/pkg/defaults/init.go @@ -26,7 +26,8 @@ func InitIntegration(portClient *cli.PortClient, applicationConfig *port.Config) } if err != nil { - klog.Infof("Integration does not exist, creating a new one") + klog.Infof("Could not get integration with state key %s, error: %s", applicationConfig.StateKey, err.Error()) + klog.Infof("Creating integration") // The exporter supports a deprecated case where resources are provided in config file and integration does not // exist. If this is not the case, we support the new way of creating the integration with the default resources. // Only one of the two cases can be true.