We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f4067c0 + 1d037c6 commit 194e827Copy full SHA for 194e827
1 file changed
cloudkittydashboard/dashboards/admin/hashmap/views.py
@@ -13,6 +13,7 @@
13
# under the License.
14
15
16
+from cloudkittyclient import exc as ck_exc
17
from django.urls import reverse
18
from django.urls import reverse_lazy
19
from django.utils.translation import gettext_lazy as _
@@ -41,7 +42,7 @@ def get_data(self):
41
42
try:
43
service = manager.info.get_metric(metric_name=s['name'])
44
unit = service['unit']
- except exceptions.NotFound:
45
+ except (exceptions.NotFound, ck_exc.HTTPNotFound):
46
unit = "-"
47
48
list_services.append({
0 commit comments