修改部分
This commit is contained in:
parent
a3672cd036
commit
2be7afc18c
|
@ -14,7 +14,7 @@
|
|||
# mac
|
||||
*.DS_Store
|
||||
.bashrc
|
||||
|
||||
public/sync_failed_users.dic
|
||||
# Ignore all logfiles and tempfiles.
|
||||
/log/*
|
||||
/tmp/*
|
||||
|
|
|
@ -96,7 +96,7 @@ class SyncForgeJob < ApplicationJob
|
|||
new_user
|
||||
rescue Exception => e
|
||||
failed_dic = "public/sync_failed_users.dic"
|
||||
File.open(failed_dic,"a+") do |file|
|
||||
File.open(failed_dic,"a") do |file|
|
||||
file.puts "[\nTime---#{Time.now}\nuser_info---#{owner_params}\nerrors--#{e}]\n "
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue