mirror of
https://gitee.com/gitea/gitea
synced 2025-11-04 00:20:25 +08:00
If http.Get() returns an error return nil and err before attempting to use the broken file. Thanks to walker xiong for spotting this bug. Signed-off-by: Andrew Thornton <art27@cantab.net>