On Internal Server Error, show request witch caused this #296
No reviewers
Labels
No Label
has/backport
has/pull
in progress
invalid
kind/breaking
kind/bug
kind/build
kind/deployment
kind/docs
kind/enhancement
kind/feature
kind/lint
kind/proposal
kind/question
kind/refactor
kind/security
kind/testing
kind/translation
kind/ui
need/backport
priority/critical
priority/low
priority/maybe
priority/medium
reviewed/duplicate
reviewed/invalid
reviewed/wontfix
skip-changelog
status/blocked
status/needs-feedback
status/needs-reviews
status/wip
upstream/gitea
No Milestone
No Assignees
4 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: gitea/go-sdk#296
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "6543/go-sdk:on-500-show-request"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
close #284 (on InternalServer error the sdk should print usefrull info)
Wouldn't it be even more useful to print the actual error message from the api?
We can check the permissions, once it's site admin, we can return the actual error message. But for plain user, I think it's related with a security problem.
@noerw the error is returned ... if your instance is running in dev mode but in plain html witch is not realy redable in terminal - I have this issue with the changelog tool and cant realy debug it easely ... because I dont know what request cause this :/
if you run in production you wont see the issue at all so it is only a useless html error page witch is printed raw to the terminal
at the moment :(