Skip to content

Commit

Permalink
Use debug message instead of warning for lacking env variables.
Browse files Browse the repository at this point in the history
  • Loading branch information
pantierra committed Sep 7, 2023
1 parent e3a5695 commit 17b7146
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nsl/stac/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@ class __BearerAuth:

def __init__(self, init=False):
if (not NSL_ID or not NSL_SECRET) and not NSL_CREDENTIALS.exists():
warnings.warn(f"NSL_ID and NSL_SECRET environment variables not set, and {NSL_CREDENTIALS} does not exist")
logger.debug(f"NSL_ID and NSL_SECRET environment variables not set, and {NSL_CREDENTIALS} does not exist")
return

# if credentials exist, add them to our auth store
Expand Down

0 comments on commit 17b7146

Please sign in to comment.