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
1553
# raise
1552
1554
# raise
1553
1555
ifhasattr(device, 'name'):
1554
-
print('Failed to load device %s'%device.name)
1556
+
logger.info(f'Failed to load device {device.name:s}, exception was:\n'+
1557
+
''.join(traceback.format_exception(type(e), e, e.__traceback__)))
1555
1558
else:
1556
-
print('Failed to load device (unknown name, device object does not have attribute name)')
1559
+
logger.info('Failed to load device (unknown name, device object does not have attribute name), exception was:\n'+
1560
+
''.join(traceback.format_exception(type(e), e, e.__traceback__)))
0 commit comments