You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Many errors, especially those from git, are rendered as 500 Server Error pages. It seems to me that in many situations the end users could work out the problem if they were aware of the actual error, which is completely hidden from them in production mode.
The end user may or may not have rapid access to the Gitea administrator to help them with this problem, and they certainly don't have access to a quick new Gitea version that fixes it, if it's Gitea's to fix at all. They may also be pressed to finish some work and they may be blocked by their problem.
So I think that it would be great if Gitea used functions like ctx.RenderWithErr() to give the user a tidy feedback instead of a crash page. Something similar could be said about the git server.
Security should be considered, though, as error messages might expose data unintendedly.
The text was updated successfully, but these errors were encountered:
Many errors, especially those from git, are rendered as
500 Server Error
pages. It seems to me that in many situations the end users could work out the problem if they were aware of the actual error, which is completely hidden from them in production mode.The end user may or may not have rapid access to the Gitea administrator to help them with this problem, and they certainly don't have access to a quick new Gitea version that fixes it, if it's Gitea's to fix at all. They may also be pressed to finish some work and they may be blocked by their problem.
So I think that it would be great if Gitea used functions like
ctx.RenderWithErr()
to give the user a tidy feedback instead of a crash page. Something similar could be said about the git server.Security should be considered, though, as error messages might expose data unintendedly.
The text was updated successfully, but these errors were encountered: