gotosocial/vendor
kim 6934ae378a
[chore] improved router logging, recovery and error handling (#705)
* move panic recovery to logging middleware, improve logging + panic recovery logic

Signed-off-by: kim <grufwub@gmail.com>

* remove dead code

Signed-off-by: kim <grufwub@gmail.com>

* remove skip paths code

Signed-off-by: kim <grufwub@gmail.com>

* re-enable log quoting

Signed-off-by: kim <grufwub@gmail.com>

* use human-friendly bytesize in logging body size

Signed-off-by: kim <grufwub@gmail.com>

* only disable quoting in debug builds

Signed-off-by: kim <grufwub@gmail.com>

* use logrus level instead of debug.DEBUG() to enable/disable quoting

Signed-off-by: kim <grufwub@gmail.com>

* shutup linter

Signed-off-by: kim <grufwub@gmail.com>

* fix instance tests

Signed-off-by: kim <grufwub@gmail.com>

* fix gin test contexts created with missing engine HTML renderer

Signed-off-by: kim <grufwub@gmail.com>

* add note regarding not logging query parameters

Signed-off-by: kim <grufwub@gmail.com>

* better explain 'DisableQuoting' logic

Signed-off-by: kim <grufwub@gmail.com>

* add license text

Signed-off-by: kim <grufwub@gmail.com>
2022-07-12 08:32:20 +01:00
..
codeberg.org/gruf [chore] improved router logging, recovery and error handling (#705) 2022-07-12 08:32:20 +01:00
github.com [chore] consolidate caching libraries (#704) 2022-07-10 17:18:21 +02:00
golang.org/x [chore] consolidate caching libraries (#704) 2022-07-10 17:18:21 +02:00
google.golang.org [chore] Update all but bun libraries (#526) 2022-05-02 15:05:18 +02:00
gopkg.in [chore] Update all but bun libraries (#526) 2022-05-02 15:05:18 +02:00
lukechampine.com/uint128 [chore] Update all but bun libraries (#526) 2022-05-02 15:05:18 +02:00
modernc.org [performance] Add further indexes to mitigate laggy queries (#586) 2022-05-18 15:58:26 +01:00
mvdan.cc/xurls/v2 migrate go version to 1.17 (#203) 2021-09-10 14:42:14 +02:00
modules.txt [chore] improved router logging, recovery and error handling (#705) 2022-07-12 08:32:20 +01:00