Open craddm opened 1 month ago
Can we tell the difference between "we couldn't load the YAML file because it doesn't exist" and "we couldn't load the YAML file because there is no SRE with that name"?
To be fair, my report is slightly misleading - I've made it sound a bit like it only happens when the SRE does exist somewhere, and I don't think that matters. I think I meant more that saying the SRE is not found in the current context catches both cases. If you're inattentive, you might not realise there's no SRE up because the table was printed.
Ah OK - can you make the fix to not show the table in this situation then @craddm? Should be in administration > users > user_handler.py
in the list()
method.
@craddm Are you working on this?
:white_check_mark: Checklist
:computer: System information
:package: Packages
List of packages
```none Paste list of packages here ```:no_entry_sign: Describe the problem
dsh users list <sre>
still prints out a table when the SRE doesn't exist in the current context. It should give clearer error messages telling the user why this hasn't worked.:steam_locomotive: Workarounds or solutions