commit c3bcba529a9b504d988b9de2a5b63e5ad4caee13
parent d3c75a29a27f5411c4e68145ff44b815aa826daf
Author: Jack Mordaunt <jackmordaunt@gmail.com>
Date: Sun, 2 May 2021 13:19:12 +0800
refactor(Giffer.Download): add more context to download error
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/cmd/gio/giffer.go b/cmd/gio/giffer.go
@@ -63,7 +63,7 @@ func (g *Giffer) make(
) (*RenderedGif, error) {
video, err := g.Download(url, start, end)
if err != nil {
- return nil, errors.Wrap(err, "downloading")
+ return nil, errors.Wrap(err, "downloading video")
}
gif, err := g.Transcode(video, start, end, width, height, fps)
if err != nil {