修复:错误信息和code共同返回

This commit is contained in:
2024-04-26 17:12:50 +08:00
parent 9f8d0e4aac
commit 03f1c59391
3 changed files with 4 additions and 7 deletions
@@ -33,9 +33,6 @@ class Repositories::CreateService < ApplicationService
end
repository
end
rescue => e
puts "create repository service error: #{e.message}"
raise Error, "服务器错误,请联系系统管理员!"
end
private