]> granicus.if.org Git - ejabberd/commitdiff
Don't warn if custom schema is not available
authorChristophe Romain <christophe.romain@process-one.net>
Tue, 31 Jan 2017 08:53:52 +0000 (09:53 +0100)
committerChristophe Romain <christophe.romain@process-one.net>
Tue, 31 Jan 2017 08:53:52 +0000 (09:53 +0100)
src/ejabberd_mnesia.erl

index db31e277a75b883ee425e0bad9478bd429789ca0..c0f25131a87f8ae3607228a88ea1e8276fe07045 100644 (file)
@@ -111,6 +111,9 @@ schema(Path, Module, Name, TabDef) ->
                _ ->
                    TabDef
            end;
+       {error, enoent} ->
+           ?DEBUG("No custom ~s schema path", [Module]),
+           TabDef;
        {error, Error} ->
            ?ERROR_MSG("Can not use custom ~s schema for table ~s: ~p",
                       [Module, Name, Error]),