Skip to content

Commit 371b469

Browse files
ctcseveas
authored andcommitted
catch GetSecrets exception
1 parent 858f5ff commit 371b469

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

NetworkManager.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,10 @@ def GetSecrets(self, name=None):
185185
break
186186
else:
187187
return {}
188-
return self.make_proxy_call('GetSecrets')(name)
188+
try:
189+
return self.make_proxy_call('GetSecrets')(name)
190+
except:
191+
return {}
189192

190193
def postprocess(self, name, val):
191194
if name == 'GetSettings':

0 commit comments

Comments
 (0)