feat(aria2): show detailed error message from aria2 (#2296)

This commit is contained in:
Aaron Liu
2025-04-27 10:36:06 +08:00
parent c6eef43590
commit 77ae381474
4 changed files with 4 additions and 2 deletions

View File

@@ -44,6 +44,7 @@ type (
Files []TaskFile `json:"files,omitempty"`
Pieces []byte `json:"pieces,omitempty"` // Hexadecimal representation of the download progress of the peer. The highest bit corresponds to the piece at index 0.
NumPieces int `json:"num_pieces,omitempty"`
ErrorMessage string `json:"error_message,omitempty"`
}
TaskFile struct {