Skip to content

Commit 819cea0

Browse files
committed
minor fix
1 parent 252813c commit 819cea0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/azure-cli-core/azure/cli/core/commands/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -778,7 +778,7 @@ def _what_if(self, args):
778778
except (CLIError, ValueError, KeyError) as ex:
779779
# If what-if service fails, still show an informative message
780780
logger.error("What-if preview failed: %s", str(ex))
781-
telemetry.set_exception(ex, fault_type='what-if-error', summary=str(ex)[:100])
781+
telemetry.set_exception(ex, fault_type='what-if-error')
782782
telemetry.set_failure(summary='what-if-failed')
783783
return CommandResultItem(None, exit_code=1,
784784
error=CLIError(f'What-if preview failed: {str(ex)}'))

0 commit comments

Comments
 (0)