Spaces:
Configuration error
Configuration error
fix export errors
Browse files- backend/main.py +2 -0
backend/main.py
CHANGED
|
@@ -301,6 +301,8 @@ Generated by ROCmPort AI.
|
|
| 301 |
"Content-Disposition": "attachment; filename=rocmport_migration.zip"}
|
| 302 |
)
|
| 303 |
|
|
|
|
|
|
|
| 304 |
except Exception as e:
|
| 305 |
raise HTTPException(
|
| 306 |
status_code=500, detail=f"Export failed: {str(e)}") from e
|
|
|
|
| 301 |
"Content-Disposition": "attachment; filename=rocmport_migration.zip"}
|
| 302 |
)
|
| 303 |
|
| 304 |
+
except HTTPException:
|
| 305 |
+
raise
|
| 306 |
except Exception as e:
|
| 307 |
raise HTTPException(
|
| 308 |
status_code=500, detail=f"Export failed: {str(e)}") from e
|