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
FIX 处理gitea client 返回信息
tags/v1
Jasder
6 years ago
parent
7247be6c6c
commit
4ff7009645
1 changed files
with
2 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-0
app/services/gitea/client_service.rb
+ 2
- 0
app/services/gitea/client_service.rb
View File
@@ -143,6 +143,8 @@ class Gitea::ClientService < ApplicationService
when 409
message = "创建失败,请检查该分支合并是否已存在"
raise Error, mark + message
when 403
{status: 403, message: '你没有权限操作!'}
else
if response&.body.blank?
message = "请求失败"
Write
Preview
Loading…
Cancel
Save