The in-cluster-sender error should be debuggable #129
Labels
kind/bug
Categorizes issue or PR as related to a bug.
triage/accepted
Issues which should be fixed (post-triage)
Milestone
Currently, the following code is used when the in-cluster-sender fails to send the event.
https://github.com/knative-sandbox/kn-plugin-event/blob/6d85cfd3588b76bebb2a05b5d345c4eb4a468e21/pkg/k8s/jobrunner.go#L81-L82
This doesn't allow telling the end user what actually has happened. A proper report should be built, by dumping sender job' pods YAMLs, and their logs. Such report should be saved as a file (in user home) and file path to it should be provided to the console.
/kind bug
The text was updated successfully, but these errors were encountered: