Skip to content

Commit 80e12de

Browse files
committed
Reintroduce error message which I may have unintentionally removed earlier
1 parent d964abd commit 80e12de

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/mtg/initialisation.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,7 @@ function init_node_status!(node, statuses, mapped_vars, reverse_multiscale_mappi
126126
end
127127
continue
128128
end
129+
error("Variable `$(var)` is not computed by any model, not initialised by the user in the status, and not found in the MTG at scale $(symbol(node)) (checked for MTG node $(node_id(node))).")
129130
end
130131
# Applying the type promotion to the node attribute if needed:
131132
if isnothing(type_promotion)

0 commit comments

Comments
 (0)