Closed smcclennon closed 1 week ago
This PR improves error handling in the file download functionality by adding proper exception logging. The change captures and logs the specific exception that occurs during file downloads, rather than silently catching all exceptions.
sequenceDiagram
actor User
participant Bot
participant Logger
User->>Bot: Request file download
Bot->>Bot: Get file
alt File size within limit
Bot->>User: Download file
else File size exceeds limit
Bot->>User: Send file-size limit error
Bot->>Logger: Log exception
end
Change | Details | Files |
---|---|---|
Enhanced error handling and logging for file download failures |
|
app/SongIDProcessor.py |
Summary by Sourcery
Bug Fixes: