Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions src/WebAppDIRAC/WebApp/handler/ConfigurationManagerHandler.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,11 @@ def __getSubnodesForPath(self, sectionPath, retData):
sectionCfg = self.__configData["cfgData"].getCFG()
for section in [section for section in sectionPath.split("/") if not section.strip() == ""]:
sectionCfg = sectionCfg[section]
except Exception as v:
self.log.exception("Section does not exist", f"{sectionPath} -> {v!r}")
except KeyError as err:
self.log.info("Client requested non-existent section", f"{sectionPath} -> {err!r}")
return False
except Exception as err:
self.log.exception("Error loading config section", f"{sectionPath} -> {err!r}")
return False

for entryName in sectionCfg.listAll():
Expand Down
Loading