mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-03 03:40:49 +08:00
修改bug
This commit is contained in:
@@ -26,6 +26,10 @@ module Gitea
|
||||
render_result(response)
|
||||
rescue Exception => exception
|
||||
Rails.logger.info "Exception ===========> #{exception.message}"
|
||||
failed_dic = "public/sync_failed_users.dic"
|
||||
File.open(failed_dic,"a") do |file|
|
||||
file.puts "user_info---#{params},errors--#{exception.message}"
|
||||
end
|
||||
fail!(exception.message)
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user