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

Cf parse should attempt to login instead of failing directly #12

Closed
GaurangTandon opened this issue May 29, 2019 · 2 comments
Closed

Cf parse should attempt to login instead of failing directly #12

GaurangTandon opened this issue May 29, 2019 · 2 comments
Labels
bug Something isn't working

Comments

@GaurangTandon
Copy link
Contributor

Hi, sorry for spamming with so many requests. This isn't really urgent so feel free to take your time :)

I have noticed that if I perform cf parse without being logged in (and I have no idea why I always get logged out after a day or two), it just fails. See #11.

However, if I perform cf submit, it tries to log me back in if I am logged out.

Submit 1169 C GNU G++14 6.4.0
Not logged. Try to login
Login sigma_g...
Succeed!!
Submit 1169 C GNU G++14 6.4.0

Could similar feature be added for cf parse? I looked up the code and it seems the `loginAgain function is needed somehow.

func loginAgain(cfg *config.Config, cln *client.Client, err error) error {

@xalanq
Copy link
Owner

xalanq commented May 29, 2019

OK. I'll fix it in 30mins

xalanq added a commit that referenced this issue May 29, 2019
@xalanq xalanq closed this as completed May 29, 2019
@GaurangTandon
Copy link
Contributor Author

Great thanks! :D

@xalanq xalanq added the bug Something isn't working label Jul 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants