You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# if device.name == 'ni_card_0' or device.name == 'pulseblaster_0' or device.name == 'pineblaster_0' or device.name == 'ni_card_1' or device.name == 'novatechdds9m_0':
1551
-
# raise
1552
-
# raise
1550
+
exceptExceptionase:
1551
+
1553
1552
ifhasattr(device, 'name'):
1554
-
print('Failed to load device %s'%device.name)
1553
+
logger.info(f'Failed to load device {device.name:s}, exception was:\n'+
1554
+
''.join(traceback.format_exception(type(e), e, e.__traceback__)))
1555
1555
else:
1556
-
print('Failed to load device (unknown name, device object does not have attribute name)')
1556
+
logger.info('Failed to load device (unknown name, device object does not have attribute name), exception was:\n'+
1557
+
''.join(traceback.format_exception(type(e), e, e.__traceback__)))
0 commit comments