Skip to content

Commit

Permalink
removed general exception handling
Browse files Browse the repository at this point in the history
  • Loading branch information
SanjeevLakhwani committed Nov 5, 2024
1 parent 5793eec commit ed91481
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions transcriptomics_data_service/routers/ingest.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,10 +71,6 @@ def _load_csv(file_bytes: bytes) -> pd.DataFrame:
raise HTTPException(status_code=status.HTTP_400_BAD_REQUEST, detail=f"Error parsing CSV: {e}")
except ValueError as e:
raise HTTPException(status_code=status.HTTP_400_BAD_REQUEST, detail=f"Value error in CSV data: {e}")
except Exception as e:
raise HTTPException(
status_code=status.HTTP_500_INTERNAL_SERVER_ERROR, detail=f"Unexpected error while reading CSV: {e}"
)


@ingest_router.post("/normalize/{experiment_result_id}")
Expand Down

0 comments on commit ed91481

Please sign in to comment.