mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-07-16 23:18:56 +08:00
修复:错误信息和code共同返回
This commit is contained in:
@@ -33,9 +33,6 @@ class Repositories::CreateService < ApplicationService
|
||||
end
|
||||
repository
|
||||
end
|
||||
rescue => e
|
||||
puts "create repository service error: #{e.message}"
|
||||
raise Error, "服务器错误,请联系系统管理员!"
|
||||
end
|
||||
|
||||
private
|
||||
|
||||
Reference in New Issue
Block a user