diff --git a/pkg/krmtotf/tftokrm.go b/pkg/krmtotf/tftokrm.go index 296cc0b289..42769206c9 100644 --- a/pkg/krmtotf/tftokrm.go +++ b/pkg/krmtotf/tftokrm.go @@ -301,7 +301,7 @@ func getResourceIDIfSupported(resource *Resource, status map[string]interface{}) if err != nil { panic(fmt.Errorf("incorrect format of server-generated "+ "resource ID for resource Kind '%s', Name '%s', Namespace "+ - "'%s'", resource.Kind, resource.Name, resource.Namespace)) + "'%s': %w", resource.Kind, resource.Name, resource.Namespace, err)) } return resourceID, true