aerotech: logging

This commit is contained in:
appleb_m
2026-06-11 16:11:28 +02:00
parent e95eff9751
commit dba95b07f1
+4
View File
@@ -11,6 +11,9 @@ from aare.common.exception_handler import AerotechCommunicationError
AEROTECH_HOME = AerotechCoordinate(at_mm=Coordinate(x=0, y=0, z=0), omega_deg=0)
from aare.common.logger_config import setup_logger
logger = setup_logger("aareDAQ")
class AerotechController(object):
@@ -229,6 +232,7 @@ class AerotechController(object):
if self.__simulated:
return payload
try:
logger.info('sending screening scan request to aerotech')
return self.__api.screening_post(payload)
except Exception as e:
raise AerotechCommunicationError(