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