Skip to content

Commit fb72c31

Browse files
author
Jelle Dijkstra
committed
logAndUpdateStatus...
1 parent b01332d commit fb72c31

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

internal/controller/atom_controller.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,7 @@ func (r *AtomReconciler) Reconcile(ctx context.Context, req ctrl.Request) (resul
138138
defer func() {
139139
if rec := recover(); rec != nil {
140140
err = recoveredPanicToError(rec)
141+
r.logAndUpdateStatusError(ctx, atom, err)
141142
}
142143
}()
143144

0 commit comments

Comments
 (0)