In orca_nw_lib and orca_backendTop level class Exception is being caught, This might lead to incorrect handling of several other exceptions e.g. a variable accessed before initialization and many more.
Instead separate exceptions should be caught -
RpcError - in case of RPC failed, This exception contains the failure reason which can be retrieved using details() method.
Device can not be reached - when device is not reachable ping_ok() function returns false.
Device is pingable but grpc server not yet ready, this occurs while device is rebooted and yet not ready, to reproduce this stop telemetry docker container.
Aboce exceptions should be caught individually, instead of catching "Exception".
In orca_nw_lib and orca_backendTop level class Exception is being caught, This might lead to incorrect handling of several other exceptions e.g. a variable accessed before initialization and many more. Instead separate exceptions should be caught -
Aboce exceptions should be caught individually, instead of catching "Exception".