Skip to content

Commit 74257fb

Browse files
committed
style check
1 parent abc3488 commit 74257fb

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -872,8 +872,7 @@ def _resolve_output_sensitive_data_warning(self, cmd, result):
872872
set_secrets_detected(True, secret_property_names, secret_names)
873873
except Exception as ex: # pylint: disable=broad-except
874874
# ignore all exceptions, as this is just a warning
875-
logger.debug(f'Scan credentials failed with {str(ex)}')
876-
pass
875+
logger.debug('Scan credentials failed with %s', str(ex))
877876

878877
def resolve_confirmation(self, cmd, parsed_args):
879878
confirm = cmd.confirmation and not parsed_args.__dict__.pop('yes', None) \

0 commit comments

Comments
 (0)