Skip to content

Commit

Permalink
output ImportError for tracing module to stderr (#1619)
Browse files Browse the repository at this point in the history
  • Loading branch information
saikonen authored Oct 31, 2023
1 parent a9add2a commit 0557ce9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion metaflow/tracing/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import sys
from metaflow.metaflow_config import (
OTEL_ENDPOINT,
ZIPKIN_ENDPOINT,
Expand Down Expand Up @@ -64,4 +65,4 @@ def wrapper_func(*args, **kwargs):
)

except ImportError as e:
print(e.msg)
print(e.msg, file=sys.stderr)

0 comments on commit 0557ce9

Please sign in to comment.