Skip to content

A platform for community discussion. Free, open, simple.

Fix the build.

Guo Xiang Tana3dbe3685e38
diff --git a/lib/upload_recovery.rb b/lib/upload_recovery.rb
index fc64839a557..3ab5da75f83 100644
--- a/lib/upload_recovery.rb
+++ b/lib/upload_recovery.rb
@@ -58,6 +58,7 @@ class UploadRecovery
if background.present? && !Upload.exists?(url: background)
data = Upload.extract_upload_url(background)
+ next unless data
sha1 = data[2]
if @dry_run