Skip to content

Commit d5c9519

Browse files
authored
[ws-manager] Log timeout (#16855)
1 parent 8744ad0 commit d5c9519

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

components/ws-manager/pkg/manager/monitor.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1376,6 +1376,7 @@ func (m *Monitor) markTimedoutWorkspaces(ctx context.Context) (err error) {
13761376
if timedout == "" {
13771377
continue
13781378
}
1379+
log.WithFields(wsk8s.GetOWIFromObject(&pod.ObjectMeta)).Infof("workspace timed out: %s", timedout)
13791380
err = m.manager.markWorkspace(ctx, workspaceID, addMark(workspaceTimedOutAnnotation, timedout))
13801381
if err != nil {
13811382
errs = append(errs, fmt.Sprintf("workspaceId=%s: %q", workspaceID, err))

0 commit comments

Comments
 (0)