Skip to content

Commit 81ae2b6

Browse files
authored
fix at-logprogress outside of at-withprogress (#41)
1 parent 21afa3c commit 81ae2b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ProgressLogging.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -377,7 +377,7 @@ macro logprogress(name, progress = nothing, args...)
377377
msgexpr = :($ProgressString($_asprogress(
378378
$name,
379379
$id_tmp,
380-
$_parentid_var;
380+
Base.@isdefined($_parentid_var) ? $_parentid_var : $ROOTID;
381381
progress = $progress,
382382
)))
383383
quote

0 commit comments

Comments
 (0)