debug lines
This commit is contained in:
parent
1dc82c238e
commit
186fdbb952
2
main.py
2
main.py
|
|
@ -20,6 +20,7 @@ from collections import deque
|
|||
import numpy as np
|
||||
import aiohttp
|
||||
import httpx
|
||||
import time
|
||||
|
||||
from serial_manager import SerialConfig, SerialStore, SerialReader
|
||||
from protocol_decoder import decode_frames
|
||||
|
|
@ -309,6 +310,7 @@ def send_command(state: str, pu_number: int, ploop_setpoint: float = Query(...),
|
|||
}
|
||||
|
||||
except Exception as e:
|
||||
logging.error(str(e))
|
||||
raise HTTPException(status_code=500, detail=str(e))
|
||||
|
||||
## MONITORING
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user