notification-controller icon indicating copy to clipboard operation
notification-controller copied to clipboard

Provide more information about errors

Open tun0 opened this issue 2 years ago • 1 comments

Example:

{
  "level": "error",
  "ts": "2023-03-09T17:39:57.859Z",
  "logger": "event-server",
  "msg": "failed to send notification",
  "reconciler kind": "Kustomization",
  "name": "flux-system",
  "namespace": "flux-system",
  "error": "postMessage failed: failed to execute request: context deadline exceeded"
}

With a bit of guess-work I could deduce it to be about Slack notifications. More information (provider name, timeout value, etc) could/would help a lot in pinpointing the exact underlying issue(s).

tun0 avatar Mar 09 '23 18:03 tun0

Agreed. I cannot get Slack to work as this error provides no information. I create the secret with the token didn't work, created secret with the address including all its needed info in URL params didn't work, finally used the deprecated method and that works

Lukeesec avatar Aug 16 '24 17:08 Lukeesec