获取文件内容

dev_hjm
jingquan huang 6 years ago
parent 822253cf2a
commit ca1870160b

@ -495,7 +495,6 @@ class GamesController < ApplicationController
uid_logger("--rep_content: path is #{path}")
begin
@content = git_fle_content(@myshixun.repo_path, path) || ""
rescue Exception => e
# 思路: 异常首先应该考虑去恢复
# retry为1表示已经轮训完成后还没有解决问题这个时候需要检测异常

Loading…
Cancel
Save