File tree 1 file changed +4
-2
lines changed
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):
569
569
try :
570
570
read_only = resp .data [0 ]['ro' ]
571
571
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 )} " )
573
574
warn (msg , PoolTolopogyWarning )
574
575
return InstanceState (Status .UNHEALTHY )
575
576
@@ -581,7 +582,8 @@ def _get_new_state(self, unit):
581
582
warn (msg , PoolTolopogyWarning )
582
583
return InstanceState (Status .UNHEALTHY )
583
584
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 )} " )
585
587
warn (msg , PoolTolopogyWarning )
586
588
return InstanceState (Status .UNHEALTHY )
587
589
You can’t perform that action at this time.
0 commit comments