--- a/connectors/LPC/LPCAppProto.py Fri Jun 04 15:39:14 2010 +0200
+++ b/connectors/LPC/LPCAppProto.py Fri Jun 04 16:11:19 2010 +0200
@@ -15,7 +15,9 @@
if current_plc_status is not None:
res = transaction.ExchangeData()
else:
- raise LPCProtoError("LPC transaction error - controller did not answer as expected")
+ raise LPCProtoError("controller did not answer as expected")
+ except Exception, e:
+ raise LPCProtoError("LPC transaction error : "+str(e))
finally:
self.TransactionLock.release()
return LPC_STATUS.get(current_plc_status,"Broken"), res