mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-22 04:35:45 +08:00
修改部分
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user