common-fate / granted

The easiest way to access your cloud.
https://granted.dev
MIT License
955 stars 90 forks source link

improve logging when retrieving the federated console URL fails #649

Closed chrnorm closed 2 months ago

chrnorm commented 2 months ago

What changed?

Adds extra logging of the response body when opening the console fails

Why?

We're currently seeing reports of 'opening console failed with code 400' but this is difficult to debug, because the HTTP body is not printed.

How did you test it?

Untested but will have a community member run a dev build of this, ideally.

Potential risks

Low to none - just adds extra body logging in the error case.

Is patch release candidate?

Yes

Link to relevant docs PRs

N/A

chrnorm commented 2 months ago

Closing as this did not aid in solving the issue