mirror of
https://github.com/xcat2/confluent.git
synced 2025-02-19 20:16:04 +00:00
Relay redfish error strings to client
This provides a much better experience than 'unexpected' error.
This commit is contained in:
parent
25028c8acc
commit
93e9a54e86
@ -313,7 +313,7 @@ def perform_request(operator, node, element,
|
||||
node,
|
||||
'Mismatch detected between target certificate fingerprint '
|
||||
'and pubkeys.tls_hardwaremanager attribute'))
|
||||
except pygexc.InvalidParameterValue as e:
|
||||
except (pygexc.InvalidParameterValue, pygexc.RedfishError) as e:
|
||||
results.put(msg.ConfluentNodeError(node, str(e)))
|
||||
except Exception as e:
|
||||
results.put(e)
|
||||
|
Loading…
x
Reference in New Issue
Block a user