Skip to content

Commit

Permalink
WIP: Add debug print
Browse files Browse the repository at this point in the history
  • Loading branch information
nkaretnikov committed Dec 19, 2023
1 parent 2ab9568 commit 4e2152a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion conda-store-server/conda_store_server/orm.py
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ def build_path(self, conda_store):
# conda prefix must be less or equal to 255 chars
# https://github.com/conda-incubator/conda-store/issues/649
if len(str(res)) > 255:
raise BuildPathError("build_path too long: must be <= 255 characters")
raise BuildPathError(f"build_path too long: must be <= 255 characters: {res}")
# Note: cannot use the / operator to prepend the extended-length prefix
if conda_store.win_extended_length_prefix:
return pathlib.Path(f"\\\\?\\{res}")
Expand Down

0 comments on commit 4e2152a

Please sign in to comment.