diff --git a/internal/universal/downloader.go b/internal/universal/downloader.go index ff0548a..4382408 100644 --- a/internal/universal/downloader.go +++ b/internal/universal/downloader.go @@ -49,7 +49,7 @@ func (dl *Downloader) DownloadFile(directory, torrentName, fileName string, resp // log.Debugf("Opening file %s from torrent %s (%s)", fileName, torMgr.GetKey(torrent), file.Link) if file.IsBroken { if cfg.EnableRepair() { - http.Error(resp, "File is temporarily unavailable", http.StatusInternalServerError) + http.Error(resp, "File is temporarily unavailable", http.StatusLocked) } else { http.Error(resp, "File is not available", http.StatusNotFound) }