Skip to content

Commit

Permalink
print traceback when labjacks don't connect
Browse files Browse the repository at this point in the history
  • Loading branch information
OliverBalfour committed Aug 9, 2022
1 parent 6f0c0da commit 1226c75
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ def __init__(self, ip: str, port: int):
self.labjacks['LOX'] = get_class(devMode)(LOX)
self.labjacks['ETH'] = get_class(devMode)(ETH)
except:
print_exc()
print('''
Could not connect to the LabJacks. Are they both connected and powered?
To run a local development server, run `python3 server.py --dev`
Expand Down

0 comments on commit 1226c75

Please sign in to comment.