Fixed PowerBi Exception (#6803)

* Fixed exception for chart name

* added id in exception

Co-authored-by: Onkar Ravgan <onkarravgan@Onkars-MacBook-Pro.local>
This commit is contained in:
Onkar Ravgan 2022-08-18 23:17:56 +05:30 committed by GitHub
parent 2107fdeca5
commit 1ec0fa3e37
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -188,4 +188,4 @@ class PowerbiSource(DashboardServiceSource):
except Exception as err: # pylint: disable=broad-except
logger.debug(traceback.format_exc())
logger.error(err)
self.status.failure(chart["title"], repr(err))
self.status.failure(chart.get("id"), repr(err))