diff --git a/wlauto/external/daq_server/daqpower-1.0.3.tar.gz b/wlauto/external/daq_server/daqpower-1.0.3.tar.gz deleted file mode 100644 index 21eaa641..00000000 Binary files a/wlauto/external/daq_server/daqpower-1.0.3.tar.gz and /dev/null differ diff --git a/wlauto/external/daq_server/daqpower-1.0.4.tar.gz b/wlauto/external/daq_server/daqpower-1.0.4.tar.gz new file mode 100644 index 00000000..74dc91d4 Binary files /dev/null and b/wlauto/external/daq_server/daqpower-1.0.4.tar.gz differ diff --git a/wlauto/external/daq_server/src/daqpower/__init__.py b/wlauto/external/daq_server/src/daqpower/__init__.py index 610d6e92..6019134e 100644 --- a/wlauto/external/daq_server/src/daqpower/__init__.py +++ b/wlauto/external/daq_server/src/daqpower/__init__.py @@ -14,4 +14,4 @@ # -__version__ = '1.0.3' +__version__ = '1.0.4' diff --git a/wlauto/external/daq_server/src/daqpower/server.py b/wlauto/external/daq_server/src/daqpower/server.py index 2901f846..e33a5f9c 100644 --- a/wlauto/external/daq_server/src/daqpower/server.py +++ b/wlauto/external/daq_server/src/daqpower/server.py @@ -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: