Skip to content

Commit

Permalink
Increase logging from helpers
Browse files Browse the repository at this point in the history
  • Loading branch information
mkitti committed Jun 3, 2024
1 parent 2866f4a commit 8e9a50d
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions src/api/helpers.jl
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,11 @@ function h5a_iterate_helper(
)::herr_t
f, err_ref = data
try
return herr_t(f(loc_id, attr_name, ainfo))
ret = herr_t(f(loc_id, attr_name, ainfo))
@async @info "h5a_iterate_helper" ret
return ret
catch err
@async @info "h5a_iterate_helper got an error" err
err_ref[] = err
return herr_t(-1)
end
Expand Down Expand Up @@ -465,8 +468,11 @@ function h5l_iterate_helper(
)::herr_t
f, err_ref = data
try
return herr_t(f(group, name, info))
ret = herr_t(f(group, name, info))
@async @info "h5l_iterate_helper" ret
return ret
catch err
@async @info "h5l_iterate_helper got an error" err
err_ref[] = err
return herr_t(-1)
end
Expand Down

0 comments on commit 8e9a50d

Please sign in to comment.