修改部分

This commit is contained in:
sylor_huang@126.com 2020-03-17 14:58:08 +08:00
parent a3672cd036
commit 2be7afc18c
2 changed files with 2 additions and 2 deletions

2
.gitignore vendored
View File

@ -14,7 +14,7 @@
# mac
*.DS_Store
.bashrc
public/sync_failed_users.dic
# Ignore all logfiles and tempfiles.
/log/*
/tmp/*

View File

@ -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