From 16e8782613364da6bf8c503629a8a762f5051a80 Mon Sep 17 00:00:00 2001 From: SylorHuang Date: Fri, 23 Aug 2019 17:33:40 +0800 Subject: [PATCH] return --- app/controllers/concerns/git_helper.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/app/controllers/concerns/git_helper.rb b/app/controllers/concerns/git_helper.rb index b154d32a5..eeb4671a4 100644 --- a/app/controllers/concerns/git_helper.rb +++ b/app/controllers/concerns/git_helper.rb @@ -9,7 +9,6 @@ module GitHelper # 版本库文件内容,带转码 def git_fle_content(repo_path, path) begin - raise Educoder::TipException.new("文档内容获取异常") Rails.logger.info("git file content: repo_path is #{repo_path}, path is #{path}") content = GitService.file_content(repo_path: repo_path, path: path)