mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-10-22 01:52:24 +00:00
- Add the written HTTP status after completing the HTTP response. This makes it easier to find that one request that returns a different status code (ref. https://codeberg.org/Codeberg/Community/issues/2049#issue-1972600) - Add the affected amount of rows and last insert ID after the SQL query is done, I have not yet a concrete use-case but this might help with debugging which ID corresponds to some SQL query that someone might want to take a closer look at and if some SQL query affects more than necessary amount of rows. Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/8680 Reviewed-by: Earl Warren <earl-warren@noreply.codeberg.org> Co-authored-by: Gusted <postmaster@gusted.xyz> Co-committed-by: Gusted <postmaster@gusted.xyz> |
||
|---|---|---|
| .. | ||
| auth.go | ||
| compare.go | ||
| db.go | ||
| errpage.go | ||
| errpage_test.go | ||
| markup.go | ||
| middleware.go | ||
| middleware_test.go | ||
| redirect.go | ||
| serve.go | ||