From 0b529e2b6ae3656ea5f2e896cc6b57afb7ef6b1f Mon Sep 17 00:00:00 2001 From: Chandra Y Date: Mon, 30 Oct 2023 16:28:14 -0500 Subject: [PATCH] Adjust logging --- src/data_loading.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/data_loading.py b/src/data_loading.py index 690a410..65a19bc 100644 --- a/src/data_loading.py +++ b/src/data_loading.py @@ -392,10 +392,10 @@ def make_request_with_retry(url, cookies): # Get Tapis token if authorized to access data files def get_tapis_token(api_request): try: - logger.info("Requesting for tapis token") response = make_request_with_retry(portal_api_root + '/auth/tapis/', api_request.cookies) if response: tapis_token = response.json()['token'] + logger.info("Received tapis token.") return tapis_token else: logger.exception("Unauthorized to access tapis token")