proper log levels

This commit is contained in:
Robert 2024-02-28 13:04:54 +07:00
parent 86a18ed76d
commit a2ddf6ba00
No known key found for this signature in database
GPG Key ID: F631C7FD957D5F22
2 changed files with 2 additions and 2 deletions

View File

@ -41,7 +41,7 @@ async def chain_get_controller(
return chain
except AssertionError:
logger.info(f"Chain not found {chain_id}")
logger.warning(f"Chain not found {chain_id}")
return HTTPException(status_code=404, detail="Chain not found")
except Exception:

View File

@ -17,7 +17,7 @@ async def run_chain_controller(
return {"works": True}
except AssertionError:
logger.info(f"Chain not found {run_chain_input.chain_id}")
logger.warning(f"Chain not found {run_chain_input.chain_id}")
return HTTPException(status_code=404, detail="Chain not found")
except Exception: