This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
AI流水线
Repositories
Datasets
Forum
实训
竞赛
大数据
AI开发
Register
Sign In
Gitlink
/
forgeplus
Not watched
Unwatch
Watch all
Watch but not notify
1
Star
0
Fork
0
Code
Releases
16
Wiki
evaluate
Activity
Issues
0
Pull Requests
0
Datasets
Model
Cloudbrain
HPC
Browse Source
更新文件失败处理
pull/338/head
xxq250
3 years ago
parent
bcab75e5d1
commit
b7ab513efd
1 changed files
with
3 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+3
-0
app/interactors/gitea/update_file_interactor.rb
+ 3
- 0
app/interactors/gitea/update_file_interactor.rb
View File
@@ -42,6 +42,9 @@ module Gitea
def render_result(response)
if response.status == 200
@result = JSON.parse(response.body)
else
Rails.logger.info("Gitea::Repository::Entries::UpdateService error======#{response.body}")
@error = "更新失败"
end
end
Write
Preview
Loading…
Cancel
Save