Skip to content

Commit 9fdd729

Browse files
authored
Fix nil pointer reference in profiles warehouse (#110)
1 parent ca2f10d commit 9fdd729

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/provider/profiles_warehouse_resource.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ func (r *profilesWarehouseResource) Read(ctx context.Context, req resource.ReadR
178178
if warehouse == nil {
179179
resp.Diagnostics.AddError(
180180
"Unable to find Profile Warehouse",
181-
err.Error(),
181+
fmt.Sprintf("Profile Warehouse with id '%s' and space id '%s' not found", previousState.ID.ValueString(), previousState.SpaceID.ValueString()),
182182
)
183183

184184
return

0 commit comments

Comments
 (0)