Skip to content
Browse files

core: add warning on missing lib files.

Issue a warning if a file mentionend in a {% lib %} tag is not found by the module indexer.
  • Loading branch information...
1 parent cccaca0 commit 5f650aad4384e598ba8aa46dd983185d92d06a3f @kaos kaos committed
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/support/z_lib_include.erl
1 src/support/z_lib_include.erl
@@ -181,6 +181,7 @@ newest([File|Files], Mod, Context) ->
{error, enoent} ->
%% Not found, skip the file
+ ?zWarning("lib file not found: ~s", [File], Context),
newest(Files, Mod, Context)

0 comments on commit 5f650aa

Please sign in to comment.
Something went wrong with that request. Please try again.