mirror of
https://github.com/altlinux/gpupdate.git
synced 2025-03-24 10:50:26 +03:00
Catch exceptions from backend
This commit is contained in:
parent
19cb5c072a
commit
8b7e8547e6
@ -105,7 +105,10 @@ class gpoa_controller:
|
||||
if is_root():
|
||||
back = backend_factory(dc, self.username, self.is_machine, nodomain)
|
||||
if back:
|
||||
back.retrieve_and_store()
|
||||
try:
|
||||
back.retrieve_and_store()
|
||||
except Exception as exc:
|
||||
logging.error(slogm('Backend execution error: {}'.format(str(exc))))
|
||||
|
||||
def start_frontend(self):
|
||||
'''
|
||||
|
Loading…
x
Reference in New Issue
Block a user