get the error message in the url

This commit is contained in:
Kenneth Kehl
2024-09-04 14:21:45 -07:00
parent b32dde1a07
commit d94a35cd30
2 changed files with 7 additions and 4 deletions

View File

@@ -153,9 +153,8 @@ def _handle_e2e_tests(redirect_url):
)
)
except Exception as e:
#stre = str(e)
#stre = stre.replace(" ", "_")
stre = os.getenv("ADMIN_CLIENT_SECRET")
stre = str(e)
stre = stre.replace(" ", "_")
# Trying to get a message back to playwright somehow since we can't see the admin logs
return redirect(url_for(f"https://{stre}"))