Added OnError event to MetaObjectLock#1585
Added OnError event to MetaObjectLock#1585k8s-ci-robot merged 2 commits intokubernetes-client:masterfrom
Conversation
|
Welcome @fh-tmccurdy! |
|
Looks ok to me. I'll wait for input from @tg123 You'll need to sign our CLA. |
| /// <summary> | ||
| /// OnError is called when there is a http operation error. | ||
| /// </summary> | ||
| public event Action<HttpOperationException> OnError; |
There was a problem hiding this comment.
I did consider it, so happy to use it if everyone agrees. I was just trying to match LeaderElectors event name.
There was a problem hiding this comment.
what about Action<Exception> OnError
to align with all other OnError in this libarary
There was a problem hiding this comment.
I've changed it to OnHttpError for now.
|
Codecov ReportAttention: Patch coverage is
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files@@ Coverage Diff @@
## master #1585 +/- ##
=========================================
Coverage ? 61.47%
=========================================
Files ? 103
Lines ? 3071
Branches ? 641
=========================================
Hits ? 1888
Misses ? 1183
Partials ? 0 ☔ View full report in Codecov by Sentry. |
|
/approve |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: fh-tmccurdy, tg123 The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Exposes HTTP operation exceptions for logging or tracing.
Fixes #1584