-
-
Notifications
You must be signed in to change notification settings - Fork 31
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
Expose some errors #25
Comments
Thanks for the update! I was wondering what was going on, just confirmed that the last NATS v1 series is able to be be installed without issues: curl -sf https://gobinaries.com/nats-io/[email protected] | sh
==> Downloading github.com/nats-io/[email protected]
==> Downloading binary for darwin amd64
==> Installing nats-server to /usr/local/bin
==> Installation complete |
Yeah, I'm assuming https://github.com/caddyserver/caddy@2 is failing because of Go 1.14 requirement. Do you have any concerns exposing something that shouldn't be exposed? Also, I can imagine many 500 won't make much sense to the end user, but probably coupled with some random error token it could be useful for debugging an issue. |
@mblarsen yep same thing:
|
Btw for go get github.com/caddyserver/caddy/v2/[email protected] |
Hmm maybe the |
ahh darn, might not be a reasonable way around that since it's a Cloudflare limitation (without some enterprise package at least). #16 might be relevant since Caddy has binaries already, it could just serve/cache those |
It would be good to give an error on 100s timeout. |
@yujunz yeah we'd probably have to time out a bit earlier in Go to have a chance to respond, but SGTM |
Getting a 500 error for Vaccine-Hunters-Canada/VaxFinder-admin-cli. It would be nice to have an error message provided somewhere in order to know how to proceed.
(since this post I've removed |
Right now
v2+
fail just due to how Go modules work, but in any case it might be nice to expose some errors, otherwise it's just a silent 500 and people are probably wondering what's going on.For example:
I'm not sure what would be best here, typically not a great idea to expose internal issues.
The text was updated successfully, but these errors were encountered: