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

Fix #12597: Update the exception handling in "login". #3106

Merged
merged 1 commit into from Oct 15, 2014

Conversation

bpindelski
Copy link

This PR tries to make the exception handling in sessions.py/login more user-friendly. See https://trac.openmicroscopy.org.uk/ome/ticket/12597 and https://www.openmicroscopy.org/community/viewtopic.php?f=4&t=7656.

To test (jdoe must not exist in the OMERO DB):

  • execute omero login -s localhost -u jdoe --sudo=root and verify that the error message makes sense.

/cc @joshmoore

@jburel jburel added the develop label Oct 14, 2014
@bpindelski
Copy link
Author

--no-rebase

@mtbc
Copy link
Member

mtbc commented Oct 15, 2014

Works well:

User account error: Cannot find a user with name jdoe.

Good to merge.

joshmoore added a commit that referenced this pull request Oct 15, 2014
Fix #12597: Update the exception handling in "login".
@joshmoore joshmoore merged commit 9362720 into ome:develop Oct 15, 2014
@bpindelski bpindelski deleted the 12597_error_msg branch October 15, 2014 10:06
@sbesson sbesson added this to the 5.1.0-m2 milestone Nov 26, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants