mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2024-11-27 03:36:51 +03:00
5f10885dde
c.FullPath() is the empty string if a request doesn't match any route on our mux. In those cases, there's no value in emitting a trace. The trace will be empty, containing no other information beyond the fact that we didn't match a route. Since Gin breaks off the processing early we don't need to trace this request as it won't do anything and consumes no further resources. The 404 will still be emitted by our logs and will be visible from a reverse proxy too. |
||
---|---|---|
.. | ||
ap | ||
api | ||
cache | ||
cleaner | ||
config | ||
db | ||
federation | ||
gotosocial | ||
gtscontext | ||
gtserror | ||
gtsmodel | ||
httpclient | ||
id | ||
iotools | ||
log | ||
media | ||
messages | ||
middleware | ||
oauth | ||
oidc | ||
paging | ||
processing | ||
regexes | ||
router | ||
state | ||
storage | ||
stream | ||
text | ||
timeline | ||
tracing | ||
trans | ||
transport | ||
typeutils | ||
uris | ||
util | ||
validate | ||
visibility | ||
web | ||
workers |