Skip to content
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

hallow-cli logging to account for lambda issues #273

Open
chapem opened this issue Aug 29, 2021 · 0 comments
Open

hallow-cli logging to account for lambda issues #273

chapem opened this issue Aug 29, 2021 · 0 comments

Comments

@chapem
Copy link
Contributor

chapem commented Aug 29, 2021

(Flagging this after going down a rabbit hole that ended up being caused by one of the actions-built zips (which when downloaded is named hallow.zip.zip btw) being corrupt somehow. Building from source fixed that issue.)

The hallow-cli logging is displayed in a way that makes it seem as if the respondent json, exit code, and error message comes directly from the hallow webserver, with a client-side hard coded "internal server error" for catchall failures:

FATA[0000] Got a non-200 exit code                       error="hallow/client: HTTP error from hallow. Status=502: {\"message\": \"Internal server error\"}" hallow.endpoint="someendpoint" hallow.publi
c_key.comment=somecomment hallow.public_key.type=ecdsa-sha2-nistp384

A great addition to hallow-cli would be to explicitly display where a log message comes from, whether an issue is lambda, hallow, or local environment/parsing related. Thanks in advance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant