James Valleroy 1aaf5efb52
users: Avoid error when user's groups cannot be parsed
Add log warnings to help debug if there is a related issue.

May help #1834.

Tested:
- Run action command with valid and invalid username. Warning is printed for
  invalid username.
- Modify the output to remove '='. Warning is printed instead of exception.
- Ensure that warnings messages are output to stderr and not stdout.
- On frontpage.py change the call to get user groups and ensure that that output
  warning messages are not parsed groups.

Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
[sunil: Drop module logger as root logger is at use]
[sunil: Use %s formatting for logging API]
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2020-05-29 13:01:16 -07:00
..
2020-02-19 14:39:36 +02:00
2020-02-19 14:39:36 +02:00
2020-02-19 14:39:36 +02:00
2020-02-19 14:39:36 +02:00
2020-02-19 14:39:36 +02:00
2020-02-19 14:39:36 +02:00
i2p
2020-02-19 14:39:36 +02:00
2020-02-19 14:39:36 +02:00
2020-05-18 08:49:31 -04:00
2020-02-19 14:39:36 +02:00
2020-02-19 14:39:36 +02:00
2020-02-19 14:39:36 +02:00
2020-02-19 14:39:36 +02:00
2020-02-19 14:39:36 +02:00
2020-02-19 14:39:36 +02:00
2020-02-21 21:47:54 -05:00
2020-02-19 14:39:36 +02:00
2020-02-19 14:39:36 +02:00
ssh
2020-02-19 14:39:36 +02:00
2020-02-19 14:39:36 +02:00
tor
2020-05-24 08:59:55 -04:00
2020-02-19 14:39:36 +02:00