]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ci.git/commit
node-proxy: narrow build_data exception handling and re-raise
authorGuillaume Abrioux <gabrioux@ibm.com>
Thu, 29 Jan 2026 10:38:45 +0000 (11:38 +0100)
committerGuillaume Abrioux <gabrioux@ibm.com>
Thu, 5 Feb 2026 09:09:20 +0000 (10:09 +0100)
commit229e8f6d8a778cc2cc4848a9c131e8c1298c0db6
treec1932f0ed3c7411d4f6abb314bc6ad3ad234b0a3
parent191473914d952e5d2ec790cbc8d13595ff895fcb
node-proxy: narrow build_data exception handling and re-raise

With this commit, it catches only KeyError, TypeError, and
AttributeError in build_data() instead of Exception, and
re-raise after logging so callers get the actual error.

Fixes: https://tracker.ceph.com/issues/74749
Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
src/ceph-node-proxy/ceph_node_proxy/redfishdellsystem.py