Skip to content

Commit ec48568

Browse files
committed
Improve error reporting
1 parent 28f80e1 commit ec48568

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/streamers.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,8 @@ function readobjany!(io, tkey::TKey, refs)
240240
try
241241
streamer = getfield(@__MODULE__, Symbol(cname))
242242
catch UndefVarError
243-
@error "Could not get streamer for '$(cname)'"
243+
@warn "Could not get streamer for '$(cname)' (TKey: $(tkey))"
244+
return missing
244245
end
245246
end
246247

0 commit comments

Comments
 (0)