X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=ceph%2Fsrc%2Fpybind%2Fmgr%2Fdashboard%2Fcontrollers%2Fgrafana.py;h=0d4331ff246372348aafc8378db7b019062dd42c;hb=494da23a05e25ed98f5539f3b89e6af3cafe3fec;hp=bb3e3a1e4a4b5e915fe0d0c656721515cf9deb29;hpb=931c18d5142274109ebfaecd012da8e5a3ebc67e;p=ceph.git diff --git a/ceph/src/pybind/mgr/dashboard/controllers/grafana.py b/ceph/src/pybind/mgr/dashboard/controllers/grafana.py index bb3e3a1e4..0d4331ff2 100644 --- a/ceph/src/pybind/mgr/dashboard/controllers/grafana.py +++ b/ceph/src/pybind/mgr/dashboard/controllers/grafana.py @@ -36,7 +36,7 @@ class Grafana(BaseController): response['success'] = push_local_dashboards() except Exception as e: # pylint: disable=broad-except raise DashboardException( - msg=e.message, + msg=str(e), component='grafana', http_status_code=500, )