Skip to content

Commit

Permalink
Adds better error message for log_artifact
Browse files Browse the repository at this point in the history
  • Loading branch information
elijahbenizzy committed Mar 4, 2024
1 parent 6726375 commit 28b5897
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion burr/visibility/tracing.py
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,11 @@ def __exit__(
return None

def log_artifact(self, name: str, value: Any):
raise NotImplementedError
raise NotImplementedError(
"Logging artifacts is not yet implemented. See "
"(and comment on) the following issue for more details: "
"https://github.com/DAGWorks-Inc/burr/issues/46"
)

async def __aenter__(self) -> "ActionSpanTracer":
"""Enters the context manager, async mode"""
Expand Down

0 comments on commit 28b5897

Please sign in to comment.