Skip to content

Commit baffa9e

Browse files
committed
msal-error-debug
1 parent e39ecb4 commit baffa9e

File tree

1 file changed

+2
-0
lines changed
  • src/azure-cli-core/azure/cli/core/auth

1 file changed

+2
-0
lines changed

src/azure-cli-core/azure/cli/core/auth/util.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ def aad_error_handler(error, **kwargs):
2929
# To trigger this function for testing, simply provide an invalid scope:
3030
# az account get-access-token --scope https://my-invalid-scope
3131

32+
logger.debug('MSAL error: %r', error)
33+
3234
from azure.cli.core.util import in_cloud_console
3335
if in_cloud_console():
3436
import socket

0 commit comments

Comments
 (0)