mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-07-13 21:44:32 +08:00
修复:错误信息和code共同返回
This commit is contained in:
@@ -26,9 +26,6 @@ class Projects::CreateService < ApplicationService
|
||||
end
|
||||
end
|
||||
@project
|
||||
rescue => e
|
||||
puts "create project service error: #{e.message}"
|
||||
raise Error, e.message
|
||||
end
|
||||
|
||||
private
|
||||
|
||||
Reference in New Issue
Block a user