Skip to content

Commit

Permalink
feature(teardown_test): Fix exception handling
Browse files Browse the repository at this point in the history
  • Loading branch information
roma-jam committed Dec 16, 2024
1 parent f284fe6 commit ea2facb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def teardown_device(amount):
else:
print("Error: Response does not match expected value.")

except tusb_cdc.SerialException as e:
except serial.SerialException as e:
print(f"Error communicating with the serial port: {e}")
break

Expand Down

0 comments on commit ea2facb

Please sign in to comment.