Skip to content

Commit

Permalink
MNT #990
Browse files Browse the repository at this point in the history
  • Loading branch information
prjemian committed Aug 26, 2024
1 parent 4a152d0 commit b49aebb
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion apstools/utils/device_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,10 @@ def listdevice(
# If the signal is not connected now, provide informative text
# and move along.
if signal.connected:
v = signal.get()
try:
v = signal.get()
except Exception as reason:
v = str(reason)
else:
v = NOT_CONNECTED_VALUE
dd["value"].append(v)
Expand Down

0 comments on commit b49aebb

Please sign in to comment.