uranusjr commented on code in PR #33629:
URL: https://github.com/apache/airflow/pull/33629#discussion_r1302368718
##########
airflow/auth/managers/fab/security_manager/modules/db.py:
##########
@@ -86,7 +86,7 @@ def create_db(self):
if self.count_users() == 0 and self.auth_role_public !=
self.auth_role_admin:
log.warning(const.LOGMSG_WAR_SEC_NO_USER)
except Exception as e:
- log.error(const.LOGMSG_ERR_SEC_CREATE_DB.format(str(e)))
+ log.error(const.LOGMSG_ERR_SEC_CREATE_DB.format(e))
Review Comment:
Orthogontal, but I want to investigate fixing these eager formatting at some
point.
--
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]