remove debug
This commit is contained in:
parent
4a59ba5f4a
commit
126dcf78c7
2 changed files with 1 additions and 2 deletions
|
|
@ -46,7 +46,6 @@ async def estimate(request: models.EstimationRequest):
|
||||||
raise e
|
raise e
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
print("Exception in estimate: ", e)
|
print("Exception in estimate: ", e)
|
||||||
raise e
|
|
||||||
raise HTTPException(
|
raise HTTPException(
|
||||||
status_code=500,
|
status_code=500,
|
||||||
detail=f"Server error: {str(e)}"
|
detail=f"Server error: {str(e)}"
|
||||||
|
|
|
||||||
|
|
@ -190,7 +190,7 @@ class EstimationService:
|
||||||
|
|
||||||
rx_spend += drug_price.unit_price * month_times
|
rx_spend += drug_price.unit_price * month_times
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
raise e
|
print(f"Error calculating rx spend for {medication.name}: {e}")
|
||||||
pass
|
pass
|
||||||
return rx_spend
|
return rx_spend
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue