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
|
||||
except Exception as e:
|
||||
print("Exception in estimate: ", e)
|
||||
raise e
|
||||
raise HTTPException(
|
||||
status_code=500,
|
||||
detail=f"Server error: {str(e)}"
|
||||
|
|
|
|||
|
|
@ -190,7 +190,7 @@ class EstimationService:
|
|||
|
||||
rx_spend += drug_price.unit_price * month_times
|
||||
except Exception as e:
|
||||
raise e
|
||||
print(f"Error calculating rx spend for {medication.name}: {e}")
|
||||
pass
|
||||
return rx_spend
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue