1
0
mirror of https://github.com/openSUSE/osc.git synced 2025-09-06 21:28:42 +02:00

Report a config error when trying to load credentials_mgr_class that does't exist

This commit is contained in:
2022-03-24 14:35:43 +01:00
parent 8a85789573
commit 90a1cb838b
3 changed files with 15 additions and 2 deletions

View File

@@ -151,7 +151,7 @@ def run(prg, argv=None):
raise
print(e, file=sys.stderr)
except (oscerr.ConfigError, oscerr.NoConfigfile) as e:
print(e.msg, file=sys.stderr)
print(e, file=sys.stderr)
except configparser.Error as e:
print(e.message, file=sys.stderr)
except oscerr.OscIOError as e: