Skip to content

Commit

Permalink
Merge pull request #130 from neptune-ai/pg/fix
Browse files Browse the repository at this point in the history
chore: Import error -> logger.warning
  • Loading branch information
PatrykGala authored Nov 27, 2024
2 parents 437b634 + 41a9d0c commit cae18e4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/neptune_fetcher/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@
version,
)

from .cache import logger

try:
# This will raise PackageNotFoundError if the package is not installed
version("neptune-experimental")
Expand All @@ -46,7 +48,7 @@
try:
version("neptune")

raise ImportError(
logger.warn(
"""You have `neptune` installed. The package is no longer a dependency and causes conflicts.
Uninstall it before using `neptune-fetcher`:
Expand Down

0 comments on commit cae18e4

Please sign in to comment.