Skip to content

Commit

Permalink
blockdiagram: fix unreadable error msg
Browse files Browse the repository at this point in the history
Signed-off-by: Markus Klotzbuecher <mk@mkio.de>
  • Loading branch information
kmarkus committed May 11, 2020
1 parent 11f3d66 commit 92cb4b9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lua/blockdiagram.lua
Original file line number Diff line number Diff line change
Expand Up @@ -786,8 +786,8 @@ local function reapply_config(cfg, b, NC, configured, nonexist)
if nonexist[cfgfqn] == nil then goto continue end

if ubx.block_config_get(b, name) == nil then
err_exit(1, "No config %s (even after init) to apply %s",
cfg._fqn, cfgfqn)
err_exit(1, "block %s [%s] has no config '%s'",
cfg._tgt._fqn, cfg._tgt.type, name)
nonexist[cfgfqn] = false
goto continue
end
Expand Down

0 comments on commit 92cb4b9

Please sign in to comment.