Skip to content

Commit 4ab12c2

Browse files
committed
Swallow exception during optional check
This used to cause issue with MSAL 1.32 and MSAL EX <= 1.2 running inside read-only container
1 parent 137dee4 commit 4ab12c2

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

msal/application.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -208,6 +208,11 @@ def _msal_extension_check():
208208
pass # The optional msal_extensions is not installed. Business as usual.
209209
except ValueError:
210210
logger.exception(f"msal_extensions version {v} not in major.minor.patch format")
211+
except:
212+
logger.exception(
213+
"Unable to import msal_extensions during an optional check. "
214+
"This exception can be safely ignored."
215+
)
211216

212217

213218
class ClientApplication(object):

0 commit comments

Comments
 (0)