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':
1554
-
# raise
1555
-
# raise
1553
+
exceptExceptionase:
1554
+
1556
1555
ifhasattr(device, 'name'):
1557
-
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__)))
1558
1558
else:
1559
-
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