1
0
mirror of https://github.com/dkmstr/openuds.git synced 2025-01-03 01:17:56 +03:00

Updating udsclient

This commit is contained in:
Adolfo Gómez García 2020-03-04 15:17:43 +01:00
parent 67feb4aefa
commit f3522ae154
3 changed files with 4 additions and 3 deletions

View File

@ -219,7 +219,7 @@ class UDSActorSvc(win32serviceutil.ServiceFramework, CommonService):
logger.info('PRECONNECT file not found & not executed')
except Exception as e:
# Ignore output of execution command
logger.error('Executing preconnect command give')
logger.error('Executing preconnect command give {}'.format(e))
return 'ok'

View File

@ -162,6 +162,7 @@ class UDSClient(QtGui.QMainWindow):
QtCore.QTimer.singleShot(1000, self.getVersion)
except Exception as e:
logger.exception('Version')
self.showError(e)
@ -219,7 +220,7 @@ class UDSClient(QtGui.QMainWindow):
QtCore.QTimer.singleShot(10000, self.getTransportData)
except Exception as e:
#logger.exception('Got exception executing script:')
logger.exception('Got exception executing script:')
self.showError(e)
def endScript(self):

View File

@ -46,7 +46,7 @@ logging.basicConfig(
filename=logFile,
filemode='a',
format='%(levelname)s %(asctime)s %(message)s',
level=logging.INFO
level=logging.DEBUG
)
logger = logging.getLogger('udsclient')