proper log levels
This commit is contained in:
parent
86a18ed76d
commit
a2ddf6ba00
|
|
@ -41,7 +41,7 @@ async def chain_get_controller(
|
||||||
return chain
|
return chain
|
||||||
|
|
||||||
except AssertionError:
|
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")
|
return HTTPException(status_code=404, detail="Chain not found")
|
||||||
|
|
||||||
except Exception:
|
except Exception:
|
||||||
|
|
|
||||||
|
|
@ -17,7 +17,7 @@ async def run_chain_controller(
|
||||||
return {"works": True}
|
return {"works": True}
|
||||||
|
|
||||||
except AssertionError:
|
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")
|
return HTTPException(status_code=404, detail="Chain not found")
|
||||||
|
|
||||||
except Exception:
|
except Exception:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user