bitrise-io / bitrise-plugins-io

A Terminal / Command Line interface for bitrise.io, to manage your apps on bitrise.io right from your terminal / command line.
6 stars 4 forks source link

Unauthorized error (token expires): auto remove token & print instructions #35

Closed viktorbenei closed 6 years ago

viktorbenei commented 6 years ago

Right now if an Unauthorized error happens the plugin just prints the fact. If you run the command (e.g. apps) 5 times you get the same 5 times.

Due to the fact that if you get an unauthorized then that means the credentials are not valid and regardless of how many times you try it again you'll get the same results, my proposal is to: