betodealmeida commented on code in PR #36245:
URL: https://github.com/apache/superset/pull/36245#discussion_r2566817970
##########
superset/security/manager.py:
##########
@@ -746,8 +764,18 @@ def get_datasource_access_error_object( # pylint:
disable=invalid-name
level=ErrorLevel.WARNING,
extra={
"link": self.get_datasource_access_link(datasource),
- "datasource": datasource.id,
- "datasource_name": datasource.name,
+ "datasource": getattr(
Review Comment:
Good point, let me improve this.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]