You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I get an error, there is a surprisingly large amount of output for an early error. For example if I force an error with a bad value for --app I see the following output:
❯ go run main.go terraform plan --app https://foo.bar.com
ERRO could not fetch instance-data error="Get \"https://foo.bar.com/api/public/instance-data\": dial tcp: lookup foo.bar.com: no such host"
▓ Connecting to Overmind
⏳ Ensuring Token
⏳ Configuring AWS Access
⏳ Planning Changes
⏳ Processing Planned Changes
Error: failed to get instance data from app: could not fetch instance-data: Get "https://foo.bar.com/api/public/instance-data": dial tcp: lookup foo.bar.com: no such hos
│ Fatal Error: failed to get instance data from app: could not fetch instance-
│ data: Get "https://foo.bar.com/api/public/instance-data": dial tcp: lookup
│ foo.bar.com: no such host
There are a number of issues here:
There is a lot of empty space for some reason
The "Connecting to Overmind" spinner is in a really weird spot, that isn't a bad copy-paste it actually looks like that
We still show all the other steps e.g. ⏳ Ensuring Token despite the fact that we never execute them
The 2nd last error (the same one as in the first line is truncated, but not the one that is wrapped) is truncated, it ends with "no such hos"
The last error is extremely hard to read on my screen
Another similar error example is this one:
❯ go run main.go terraform plan --app https://df.overmind-demo.com
✅ Connected to Overmind
▓ Ensuring Token
⏳ Configuring AWS Access
⏳ Planning Changes
⏳ Processing Planned Changes
✅ Connected to Overmind
⛔️ Ensuring Token Error: error getting device code: oauth2: cannot fetch token: 400 Bad Request
Response: {"error":"invalid_request","error_description":"Service not found: https://api.df.overmind-demo.com"}
⏳ Configuring AWS Access
⏳ Planning Changes
⏳ Processing Planned Changes
Error: error getting device code: oauth2: cannot fetch token: 400 Bad Request
Response: {"error":"invalid_request","error_description":"Service not found: https://api.df.overmind-demo.com"}
Image:
Thie above one is better, but we still see steps executed that shouldn't be, dead whitespace, and the error being printed twice
The text was updated successfully, but these errors were encountered:
If I get an error, there is a surprisingly large amount of output for an early error. For example if I force an error with a bad value for
--app
I see the following output:There are a number of issues here:
Another similar error example is this one:
Image:
Thie above one is better, but we still see steps executed that shouldn't be, dead whitespace, and the error being printed twice
The text was updated successfully, but these errors were encountered: