File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -569,7 +569,8 @@ def _get_new_state(self, unit):
569569 try :
570570 read_only = resp .data [0 ]['ro' ]
571571 except (IndexError , KeyError ) as exc :
572- msg = f"Incorrect box.info response from { unit .addr ['host' ]} :{ unit .addr ['port' ]} "
572+ msg = (f"Incorrect box.info response from { unit .addr ['host' ]} :{ unit .addr ['port' ]} "
573+ f"reason: { repr (exc )} " )
573574 warn (msg , PoolTolopogyWarning )
574575 return InstanceState (Status .UNHEALTHY )
575576
@@ -581,7 +582,8 @@ def _get_new_state(self, unit):
581582 warn (msg , PoolTolopogyWarning )
582583 return InstanceState (Status .UNHEALTHY )
583584 except (IndexError , KeyError ) as exc :
584- msg = f"Incorrect box.info response from { unit .addr ['host' ]} :{ unit .addr ['port' ]} "
585+ msg = (f"Incorrect box.info response from { unit .addr ['host' ]} :{ unit .addr ['port' ]} "
586+ f"reason: { repr (exc )} " )
585587 warn (msg , PoolTolopogyWarning )
586588 return InstanceState (Status .UNHEALTHY )
587589
You can’t perform that action at this time.
0 commit comments