Skip to content

Commit 40a5cf2

Browse files
committed
fix missing id for finish of data_annotation
1 parent ce853ee commit 40a5cf2

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/utils/logging.jl

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,8 +136,7 @@ utilize for display purposes.
136136
function logs_annotate!(ctx::Context, arg, name::Union{String,Symbol})
137137
ismutable(arg) || throw(ArgumentError("Argument must be mutable to be annotated"))
138138
Dagger.TimespanLogging.timespan_start(ctx, :data_annotation, (;objectid=objectid_or_chunkid(arg), name), nothing)
139-
# TODO: Remove redundant log event
140-
Dagger.TimespanLogging.timespan_finish(ctx, :data_annotation, nothing, nothing)
139+
Dagger.TimespanLogging.timespan_finish(ctx, :data_annotation, (;objectid=objectid_or_chunkid(arg), name), nothing)
141140
end
142141
logs_annotate!(arg, name::Union{String,Symbol}) =
143142
logs_annotate!(Dagger.Sch.eager_context(), arg, name)

0 commit comments

Comments
 (0)