DAQ: added error message to log when daq status fails

This commit is contained in:
2025-11-18 13:35:06 +01:00
parent e587f87c91
commit d94860be39
+1
View File
@@ -87,6 +87,7 @@ async def status(token: str = Depends(oauth2_scheme)) -> DAQStatusModel:
)
except Exception as e:
logger.error(f"Error getting status: {e}")
raise HTTPException(
status_code=api_status.HTTP_500_INTERNAL_SERVER_ERROR,
detail=f"Error getting status: {e}"