dev_bj
jingquan huang 5 years ago
parent 5bf8e481d9
commit 3a9700b352

@ -12,7 +12,7 @@ namespace :homework do
end
task :gitfiledown => :environment do
begin
# begin
puts ENV['args']
system("tmp/homework_file") if File.exist?("tmp/homework_file")
homework_common = HomeworkCommon.find(ENV['args'])
@ -35,9 +35,9 @@ namespace :homework do
end
end
end
rescue Exception => e
Rails.logger.error(e.message)
end
# rescue Exception => e
# Rails.logger.error(e.message)
# end
end
end

Loading…
Cancel
Save