diff --git a/v2/kernel/errors.jam b/v2/kernel/errors.jam index aaada5639..8ebabfd9e 100644 --- a/v2/kernel/errors.jam +++ b/v2/kernel/errors.jam @@ -23,7 +23,10 @@ rule backtrace ( skip-frames prefix messages * : * ) if $(.user-modules-only) { local bt = [ nearest-user-location ] ; - ECHO "$(prefix) at $(bt) " ; + if $(bt) + { + ECHO "$(prefix) at $(bt) " ; + } for local n in $(args) { if $($(n))-is-defined