From: Tobias Ulmer Date: Fri, 16 Sep 2016 16:07:50 +0000 (+0200) Subject: e2lib.join: verbose assert X-Git-Tag: e2factory-2.3.15rc1~95 X-Git-Url: https://git.e2factory.org/?a=commitdiff_plain;h=7cacf8aab72fe7d25c1fd396a75be26dda47372c;p=e2factory.git e2lib.join: verbose assert Signed-off-by: Tobias Ulmer --- diff --git a/generic/e2lib.lua b/generic/e2lib.lua index e06c799..2df095d 100644 --- a/generic/e2lib.lua +++ b/generic/e2lib.lua @@ -758,7 +758,7 @@ function e2lib.join(p1, p2, ...) for i=1,#args do component = args[i] - assert(type(component) == "string") + assert(type(component) == "string", "join() arg not a string") if sepnext then -- If the previous or next component already