]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/dashboard: improve error handling 18182/head
authorNick Erdmann <n@nirf.de>
Mon, 9 Oct 2017 09:16:20 +0000 (09:16 +0000)
committerNick Erdmann <n@nirf.de>
Mon, 9 Oct 2017 14:25:21 +0000 (16:25 +0200)
commit7cd9fcd5d22af890c836b8cd14dc337becbd3d6c
tree0cb1d38ce74d1de6ad9057912fe5520e8f5b7583
parent2953986b52b45eb93cb4ecc164101cca8c6da593
mgr/dashboard: improve error handling
This commit replaces assertions and uncaught exceptions with appropriate http error codes.

Signed-off-by: Nick Erdmann <n@nirf.de>
src/pybind/mgr/dashboard/module.py