cortex-lab / Rigbox

A MATLAB toolbox for running behavioral neuroscience experiments and managing data
GNU General Public License v3.0
33 stars 16 forks source link

handle failure to connect to server in intelligent way #322

Closed landoskape closed 6 months ago

landoskape commented 6 months ago

Before, if the computer was not logged into the server, an error message would show up about the username/password (but not emphasize that it was due to the server -- not the alyx database), and the rest of the login function would fail, so the AlyxPanel GUI wouldn't finish updating to reflect the login.

With this PR, it will send an informative error message and logout.

k1o0 commented 6 months ago

Thanks for doing this. Feel free to merge but remember to update the changelog and version

landoskape commented 6 months ago

Sure thing. I added a blurb to the changelog-- although I couldn't find instructions for how to do this, so you may have intended me to make a new section for version 2.6.6.

Also- Merging is blocked because the base branch restricts merging to authorized users and I am not one. Should I have pulled to dev?