From e57ed5223adb15a832e4bc5b93acec062b37701c Mon Sep 17 00:00:00 2001 From: Guo Xiang Tan Date: Fri, 26 Aug 2016 15:46:27 +0800 Subject: [PATCH] Fix rake task. --- lib/tasks/uploads.rake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/tasks/uploads.rake b/lib/tasks/uploads.rake index e553a1cad..7b83cdc50 100644 --- a/lib/tasks/uploads.rake +++ b/lib/tasks/uploads.rake @@ -72,7 +72,7 @@ task "uploads:backfill_shas" => :environment do u.save! putc "." rescue => e - putc "Skipping #{upload.original_filename} (#{upload.url}) #{e.message}" + putc "Skipping #{u.original_filename} (#{u.url}) #{e.message}" end end end