diff --git a/vitrage/datasources/services.py b/vitrage/datasources/services.py index fd1877352..956e5e4b6 100644 --- a/vitrage/datasources/services.py +++ b/vitrage/datasources/services.py @@ -120,5 +120,5 @@ class ChangesService(DatasourceService): for entity in datasource.get_changes(DatasourceAction.UPDATE): self.send_to_queue(entity) except Exception as e: - LOG.error("Get changes Failed - %s", e.message) + LOG.error("Get changes Failed - %s", str(e)) LOG.debug("end get changes") diff --git a/vitrage_tempest_tests/tests/api/topology/test_topology.py b/vitrage_tempest_tests/tests/api/topology/test_topology.py index fc6049854..6e849157b 100644 --- a/vitrage_tempest_tests/tests/api/topology/test_topology.py +++ b/vitrage_tempest_tests/tests/api/topology/test_topology.py @@ -303,7 +303,7 @@ class TestTopology(BaseTopologyTest): except ClientException as e: self.assertEqual(403, e.code) self.assertEqual( - e.message, + str(e), "Graph-type 'graph' requires a 'root' with 'depth'") finally: self._rollback_to_default()