File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed
villas/controller/components/managers Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ def reconcile(self):
54
54
except Exception as e :
55
55
self .change_to_error ('failed to reconcile' ,
56
56
exception = str (e ),
57
- args = e .args )
57
+ args = str ( e .args ) )
58
58
59
59
@property
60
60
def status (self ):
Original file line number Diff line number Diff line change @@ -93,7 +93,13 @@ def reconcile(self):
93
93
def status (self ):
94
94
status = super ().status
95
95
96
- status ['status' ]['villas_relay_version' ] = self ._status .get ('version' )
96
+ try :
97
+ version = self ._status .get ('version' )
98
+ status ['status' ]['villas_relay_version' ] = version
99
+ except Exception as e :
100
+ self .change_to_error ('failed to get version from VILLASrelay' ,
101
+ exception = str (e ),
102
+ args = str (e .args ))
97
103
98
104
return status
99
105
You can’t perform that action at this time.
0 commit comments