Improve ability to debug Events e2e failure

This commit is contained in:
Derek Carr
2020-09-03 15:01:33 -04:00
parent 6ee74bf600
commit 4502fa3cfc

View File

@@ -270,7 +270,7 @@ func recordEvent(sink EventSink, event *v1.Event, patch []byte, updateExistingEv
default: default:
// This case includes actual http transport errors. Go ahead and retry. // This case includes actual http transport errors. Go ahead and retry.
} }
klog.Errorf("Unable to write event: '%v' (may retry after sleeping)", err) klog.Errorf("Unable to write event: '%#v': '%v'(may retry after sleeping)", event, err)
return false return false
} }