Exception handling is failing to catch an AttributeError
exception. Code snippet is replaced here by an equivalent
approach using a built-in python function.
The message always comes coupled with another error message.
It is an artifact of the appfwk and provides
no information about the root cause or how to debug it.
Should be removed to avoid confusion.
Test Plan:
PASS Following steps to reproduce the message no longer
trigger it.
Reviewed: https:/ /review. opendev. org/c/starlingx /config/ +/860103 /opendev. org/starlingx/ config/ commit/ 015df527fed192b 8eb106093092414 72cc8c8ac1
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit 015df527fed192b 8eb106093092414 72cc8c8ac1
Author: Leonardo Fagundes Luz Serrano <email address hidden>
Date: Mon Oct 3 12:13:23 2022 -0300
Fixed AttributeError handling in rpc dispatcher
Exception handling is failing to catch an AttributeError
exception. Code snippet is replaced here by an equivalent
approach using a built-in python function.
The message always comes coupled with another error message.
It is an artifact of the appfwk and provides
no information about the root cause or how to debug it.
Should be removed to avoid confusion.
Test Plan:
PASS Following steps to reproduce the message no longer
trigger it.
Closes-Bug: 1991701 e7f318683669eaf 35871558134
Signed-off-by: Leonardo Fagundes Luz Serrano <email address hidden>
Change-Id: Ia37cf4c5340b58