@@ -182,7 +182,7 @@ func (r *destinationSubscriptionResource) Create(ctx context.Context, req resour
182182 }
183183 if err != nil {
184184 resp .Diagnostics .AddError (
185- "Unable to update Destination subscription" ,
185+ fmt . Sprintf ( "Unable to update Destination subscription (ID: %s)" , plan . ID . ValueString ()) ,
186186 getError (err , body ),
187187 )
188188
@@ -229,7 +229,7 @@ func (r *destinationSubscriptionResource) Read(ctx context.Context, req resource
229229 }
230230 if err != nil {
231231 resp .Diagnostics .AddError (
232- "Unable to read Destination subscription" ,
232+ fmt . Sprintf ( "Unable to read Destination subscription (ID: %s)" , previousState . ID . ValueString ()) ,
233233 getError (err , body ),
234234 )
235235
@@ -312,7 +312,7 @@ func (r *destinationSubscriptionResource) Update(ctx context.Context, req resour
312312 }
313313 if err != nil {
314314 resp .Diagnostics .AddError (
315- "Unable to update Destination subscription" ,
315+ fmt . Sprintf ( "Unable to update Destination subscription (ID: %s)" , plan . ID . ValueString ()) ,
316316 getError (err , body ),
317317 )
318318
@@ -353,7 +353,7 @@ func (r *destinationSubscriptionResource) Delete(ctx context.Context, req resour
353353 }
354354 if err != nil {
355355 resp .Diagnostics .AddError (
356- "Unable to delete Destination subscription" ,
356+ fmt . Sprintf ( "Unable to delete Destination subscription (ID: %s)" , config . ID . ValueString ()) ,
357357 getError (err , body ),
358358 )
359359
0 commit comments