Skip to content

Commit 833fa86

Browse files
committed
add error
1 parent ea3d024 commit 833fa86

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/controller/gateway_controller.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ func (r *GatewayReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ct
107107
if err := r.ControlPlaneClient.Update(ctx, tctx, gateway); err != nil {
108108
acceptStatus = status{
109109
status: false,
110-
msg: err.Error(),
110+
msg: fmt.Errorf("failed to update gateway: %w for gateway %+v", err, gateway.Spec).Error(),
111111
}
112112
}
113113

0 commit comments

Comments
 (0)