Skip to content
Snippets Groups Projects
Commit ddf3b7e0 authored by Christian Boettcher's avatar Christian Boettcher
Browse files

additional logging

parent d3ce7526
Branches
Tags
No related merge requests found
Pipeline #131463 passed
......@@ -64,8 +64,10 @@ class UnityIntegrationView(AppBuilderBaseView):
# check airflow user backend
# check if user already exists, if not create it (with long random password)
sec_manager = app.appbuilder.sm
log.debug("Security manager type is " + str(type(sec_manager)))
fab_user = sec_manager.find_user(username=persistent_identifier)
log.debug("Searching for user gave '" + (str(fab_user)) + "'")
log.debug("Searching for user by name gave '" + (str(fab_user)) + "'")
if fab_user is None: # TODO check if None is the rioght thing to compare to
log.debug("Trying to create non-existing user")
characters = string.ascii_letters + string.digits + string.punctuation
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment