lets wrap the subprocess.Popen in a try except block
|
process = subprocess.Popen( |
Test this by running the server without the development argument and updating the sign. does the server survive the error and let you try again? what if you make the command that we run something random like asdfasdf
use logging.exception in the except block to log an error
lets wrap the subprocess.Popen in a try except block
rpi-led-controller/server.py
Line 156 in 843eb45
Test this by running the server without the development argument and updating the sign. does the server survive the error and let you try again? what if you make the command that we run something random like
asdfasdfuse
logging.exceptionin the except block to log an error