-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add ngrok enriched errors #555
Conversation
3707f6d
to
486299d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
return ctrl.Result{RequeueAfter: 30 * time.Second}, nerr | ||
case ngrok.IsErrorCode(nerr, ngrokapi.NgrokOpErrFailedToCreateUpstreamService.Code, ngrokapi.NgrokOpErrFailedToCreateTargetService.Code): | ||
return ctrl.Result{RequeueAfter: 1 * time.Minute}, nerr | ||
case ngrok.IsErrorCode(nerr, ngrokapi.NgrokOpErrEndpointDenied.Code): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this won't be relevant anymore, but we can remove it after we remove the enriched error on the other side
2bfebdb
to
a9884be
Compare
a9884be
to
ae9d29f
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #555 +/- ##
==========================================
- Coverage 23.67% 23.60% -0.07%
==========================================
Files 88 89 +1
Lines 12484 12521 +37
==========================================
Hits 2955 2955
- Misses 9339 9376 +37
Partials 190 190 ☔ View full report in Codecov by Sentry. |
What
Describe what the change is solving
Add support for
ngrok.Error
and enriched errorsHow
Describe the solution
New package
Breaking Changes
Are there any breaking changes in this PR?