更改:创建项目错误返回-1以及项目活跃度排行榜排名改为全局排名

This commit is contained in:
2024-06-27 11:28:39 +08:00
parent 26263ba5bb
commit 4d4a98c3b7
2 changed files with 3 additions and 2 deletions

View File

@@ -64,7 +64,8 @@ class ProjectsController < ApplicationController
end
rescue Gitea::Api::ServerError => ex
uid_logger_error(ex.message)
tip_exception(ex.http_code, ex.message)
# tip_exception(ex.http_code, ex.message)
tip_exception(ex.message)
rescue ApplicationService::Error => e
uid_logger_error(e.message)
tip_exception(e.message)