-
-
Notifications
You must be signed in to change notification settings - Fork 6k
Closed
Labels
skip-changelogThis PR is irrelevant for the (next) changelog, for example bug fixes for unreleased features.This PR is irrelevant for the (next) changelog, for example bug fixes for unreleased features.type/bug
Milestone
Description
Gitea version: 1.14.0+dev-610-gafbddf1f0
If you apply this patch to test a panic:
diff --git a/routers/user/profile.go b/routers/user/profile.go
index e19407baa..99c17479b 100644
--- a/routers/user/profile.go
+++ b/routers/user/profile.go
@@ -53,6 +53,10 @@ func Profile(ctx *context.Context) {
return
}
+ if uname != "" {
+ panic("Let's panic")
+ }
+
isShowKeys := false
if strings.HasSuffix(uname, ".keys") {
isShowKeys = true
It return a plain text with the stack-trace
Metadata
Metadata
Assignees
Labels
skip-changelogThis PR is irrelevant for the (next) changelog, for example bug fixes for unreleased features.This PR is irrelevant for the (next) changelog, for example bug fixes for unreleased features.type/bug