We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 82336ab commit 29f1348Copy full SHA for 29f1348
1 file changed
azure-devops/azext_devops/dev/boards/boards_helper.py
@@ -23,5 +23,7 @@ def resolve_classification_node_path(client, path, project, structure_group):
23
24
def handle_common_boards_errors(ex):
25
logger.debug(ex, exc_info=True)
26
- raise CLIError(str(ex.message) + "\nPlease see https://aka.ms/azure-devops-cli-troubleshooting " +
+ # Handle both Python 2 and 3 exception message formats
27
+ error_msg = getattr(ex, 'message', str(ex))
28
+ raise CLIError(error_msg + "\nPlease see https://aka.ms/azure-devops-cli-troubleshooting " +
29
'for more information on troubleshooting common errors.')
0 commit comments