Skip to content

Commit a6feb8d

Browse files
committed
logging: Fix TaskNames name calculation
1 parent 7549b1c commit a6feb8d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils/logging-events.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ function (::TaskNames)(ev::Event{:start})
102102
if ev.category == :add_thunk
103103
id = ev.id.thunk_id
104104
f = Dagger.chunktype(ev.timeline.f)
105-
if hasfield(f, :instance) && isdefined(f, :instance)
105+
if hasproperty(f, :instance) && isdefined(f, :instance)
106106
f = f.instance
107107
end
108108
return "$(nameof(f)) [$id]"

0 commit comments

Comments
 (0)