Skip to content

Commit e05fbad

Browse files
committed
Add some missing log messages
1 parent 52d27a7 commit e05fbad

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/manage/aliasutils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ def create_alias(cmd, install, alias, target, *, script_code=None, _link=os.link
132132
launcher_remap[launcher.name] = p
133133
except OSError:
134134
LOGGER.error("Failed to create global command %s.", alias["name"])
135-
LOGGER.debug(exc_info=True)
135+
LOGGER.debug("TRACEBACK", exc_info=True)
136136

137137
p_target = p.with_name(p.name + ".__target__")
138138
do_update = True

src/manage/install_command.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -481,13 +481,13 @@ def _preserve_site(cmd, root, install):
481481
LOGGER.info("Preserving %s during update.", d.relative_to(root))
482482
except ValueError:
483483
# Just in case a directory goes weird, so we don't break
484-
LOGGER.verbose(exc_info=True)
484+
LOGGER.verbose("Error information:", exc_info=True)
485485
LOGGER.verbose("Moving %s to %s", d, target)
486486
try:
487487
d.rename(target)
488488
except OSError:
489489
LOGGER.warn("Failed to preserve %s during update.", d)
490-
LOGGER.verbose("TRACEBACK", exc_info=True)
490+
LOGGER.verbose("Error information:", exc_info=True)
491491
else:
492492
state.append((d, target))
493493
# Append None, target_root last to clean up after restore is done

0 commit comments

Comments
 (0)