mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-01-31 10:11:17 +00:00
daq server: report DAQError messages properly
This commit is contained in:
parent
a72ae92ece
commit
687e1ba6b8
BIN
wlauto/external/daq_server/daqpower-1.0.3.tar.gz
vendored
BIN
wlauto/external/daq_server/daqpower-1.0.3.tar.gz
vendored
Binary file not shown.
BIN
wlauto/external/daq_server/daqpower-1.0.4.tar.gz
vendored
Normal file
BIN
wlauto/external/daq_server/daqpower-1.0.4.tar.gz
vendored
Normal file
Binary file not shown.
@ -14,4 +14,4 @@
|
||||
#
|
||||
|
||||
|
||||
__version__ = '1.0.3'
|
||||
__version__ = '1.0.4'
|
||||
|
@ -235,7 +235,8 @@ class DaqControlProtocol(LineReceiver): # pylint: disable=W0223
|
||||
else:
|
||||
self.sendError('Received unknown command: {}'.format(request.command))
|
||||
except Exception, e: # pylint: disable=W0703
|
||||
self.sendError('{}: {}'.format(e.__class__.__name__, e.message))
|
||||
message = getattr(e, 'mess', e.message)
|
||||
self.sendError('{}: {}'.format(e.__class__.__name__, message))
|
||||
|
||||
def configure(self, request):
|
||||
if 'config' in request.params:
|
||||
|
Loading…
x
Reference in New Issue
Block a user