You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The empty request object is an expected condition though. We should rather handle this error explicitly and log it as an info without an event being raised.
AC
when an empty request is handled
parser throws the error
handler handles it explicitly by
logging an info like "skipped handling due to empty request object"
returning
The text was updated successfully, but these errors were encountered:
The parser throws an error if the request object is nil: https://github.com/kyma-project/runtime-watcher/blob/main/runtime-watcher/internal/requestparser/parser.go#L39
As of now, we record this as an error with log and event: https://github.com/kyma-project/runtime-watcher/blob/main/runtime-watcher/internal/handler.go#L75-L80
The empty request object is an expected condition though. We should rather handle this error explicitly and log it as an info without an event being raised.
AC
The text was updated successfully, but these errors were encountered: