Skip to content

Commit

Permalink
Add Exception to except
Browse files Browse the repository at this point in the history
  • Loading branch information
The Beefy One committed Oct 18, 2022
1 parent 358a772 commit 2106278
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qcodes/instrument/instrument_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ def snapshot_base(
update_par = update
try:
snap["parameters"][name] = param.snapshot(update=update_par)
except:
except Exception:
# really log this twice. Once verbose for the UI and once
# at lower level with more info for file based loggers
self.log.warning("Snapshot: Could not update parameter: %s", name)
Expand Down

0 comments on commit 2106278

Please sign in to comment.