]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/dashboard: Improve error message handling 24322/head
authorVolker Theile <vtheile@suse.com>
Thu, 27 Sep 2018 06:53:11 +0000 (08:53 +0200)
committerVolker Theile <vtheile@suse.com>
Thu, 4 Oct 2018 13:53:50 +0000 (15:53 +0200)
commit7d41a4a402906156ff53ad5b2496cb3b8a99a34e
tree9403ef2e235dc45e7fff6f46a07976014838dc88
parent43a72f0e49a02e081e952f70415d218724266233
mgr/dashboard: Improve error message handling

The current implementation of the HTTP interceptor does not use the error description in all cases.

Fixes: https://tracker.ceph.com/issues/36190
Signed-off-by: Volker Theile <vtheile@suse.com>
src/pybind/mgr/dashboard/frontend/src/app/shared/services/api-interceptor.service.spec.ts [new file with mode: 0644]
src/pybind/mgr/dashboard/frontend/src/app/shared/services/api-interceptor.service.ts