zeripath afe9d2cadd
Prevent NPE if gitea uploader fails to open url (#18080) (#18101)
Backport #18080

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>
2021-12-26 09:22:10 +00:00
..
2021-04-01 19:41:09 +02:00
2021-06-07 07:27:09 +02:00
2020-10-02 23:37:53 -04:00
2021-04-12 10:49:26 -04:00
2018-11-04 22:20:00 -05:00
2021-05-03 13:24:24 -04:00
2019-06-12 15:41:28 -04:00
2021-07-21 20:19:36 +08:00
2020-04-05 07:20:50 +01:00