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