Update app.py
Browse files
app.py
CHANGED
@@ -97,7 +97,7 @@ def download_spotify_track(track_id: str):
|
|
97 |
return {"download_url": download_url}
|
98 |
except Exception as e:
|
99 |
logger.error(f"Error downloading Spotify track: {e}")
|
100 |
-
raise HTTPException(status_code=500, detail=
|
101 |
|
102 |
|
103 |
@app.get("/")
|
|
|
97 |
return {"download_url": download_url}
|
98 |
except Exception as e:
|
99 |
logger.error(f"Error downloading Spotify track: {e}")
|
100 |
+
raise HTTPException(status_code=500, detail="Failed to download Spotify track. Please try again later.")
|
101 |
|
102 |
|
103 |
@app.get("/")
|