Skip to content

Commit

Permalink
Update acquire/acquire.py
Browse files Browse the repository at this point in the history
Co-authored-by: Erik Schamper <[email protected]>
  • Loading branch information
Miauwkeru and Schamper authored Oct 17, 2023
1 parent 07fde62 commit eadffc3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion acquire/acquire.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,8 +146,9 @@ def from_user_home(target: Target, path: str) -> Iterator[str]:
try:
for user_details in target.user_details.all_with_home():
yield normalize_path(target, user_details.home_path.joinpath(path))
except Exception:
except Exception as e:
log.warning("Error occurred when requesting all user homes")
log.debug("", exc_info=e)

misc_user_homes = MISC_MAPPING.get(target.os, misc_unix_user_homes)
for user_dir in misc_user_homes(target):
Expand Down

0 comments on commit eadffc3

Please sign in to comment.