Skip to content

Commit

Permalink
fix: Catch the correct exception
Browse files Browse the repository at this point in the history
  • Loading branch information
giulioungaretti committed Jul 26, 2016
1 parent 42060ad commit 82ab76b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qcodes/tests/test_instrument_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ def test_normal(self):
with LogCapture() as logs:
TimedInstrumentServer(self.query_queue, self.response_queue,
extras)
except:
except TypeError:
from traceback import format_exc
print(format_exc())

Expand Down

0 comments on commit 82ab76b

Please sign in to comment.