Misleading error from local-preview when token has expired
I use browser authentication with spacectl. When I run
spacectl stack local-preview
but my session has expired, the error I get is:
2024/11/06 10:54:36 no stack found: no --id flag was provided and stack could not be found by searching the current directory
In reality, I just have to re-authenticate and then it works. It would be nice if it triggered the login process automatically or told me I need to login again instead.
hey @evan10s could you provide what version of spacectl you're using?
1.5.0
I didn't realize 1.6.0 was out, I'll see if I can reproduce on that
It seems to happen on 1.6.0 for me as well
Ok, will look in to, thanks for confirming
This is still an issue on 1.11.0