Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get trx state error condition #2

Merged
merged 3 commits into from
Feb 21, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Use self.logger.exception instead of print
  • Loading branch information
praxiscode committed Jan 17, 2019
commit f723350ecd4bcf4025e8a651c8cf9f19d6b23326
2 changes: 1 addition & 1 deletion pyfldigi/client/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ def get_trx_state(self, suppress_errors=False):
if suppress_errors is False:
raise
else:
print('Exception @ get_trx_state() : {}'.format(e))
self.logger.exception('Exception @ get_trx_state()')
state = 'ERROR'
if state in ['TX', 'RX', 'TUNE']:
break
Expand Down