]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/dashboard: don't log tracebacks on 404s 46898/head
authorErnesto Puerta <epuertat@redhat.com>
Wed, 29 Jun 2022 18:09:21 +0000 (20:09 +0200)
committerErnesto Puerta <epuertat@redhat.com>
Thu, 30 Jun 2022 11:31:37 +0000 (13:31 +0200)
commit3928fe91a4b8c313a52e38cab9ba31e54ff1ae51
tree17a7d3fbee84856587af6eb7229314d5d4007584
parent79a085e11a26446e9eeafb1d448b030f7df3b095
mgr/dashboard: don't log tracebacks on 404s

Currently we're logging tracebacks on expected request errors as 404,
401, etc. This may cause confusion to users, which might think that
something really wrong was happening there.

This should be extended to many DashboardExceptions that simply return
expected HTTP error codes (403, 415, 3xx, etc).

Fixes: https://tracker.ceph.com/issues/55720
Signed-off-by: Ernesto Puerta <epuertat@redhat.com>
src/pybind/mgr/dashboard/services/exception.py