summaryrefslogtreecommitdiff
path: root/py/roles.py (follow)
Commit message (Collapse)AuthorAgeFiles
* Ensure role config file exists before loading to prevent errorsKonfekt2024-03-101
| | | | | | | | | | | The problem was that the application tried to load a roles configuration file without checking whether it actually exists, potentially leading to unhandled exceptions if the file is missing. Ensure that the roles configuration file exists before attempting to read from it; raise an exception with a clear message if the file is not found. diff --git a/py/roles.py b/py/roles.py: -if not os.path.exists(roles_config_path): - raise Exception(f"Role config file does not exist: {roles_config_path}") -
* roles example fileMartin Bielik2024-03-091
|
* roles completionMartin Bielik2024-03-091