]> git.e2factory.org Git - e2factory.git/commitdiff
Align error messages
authorTobias Ulmer <tu@emlix.com>
Tue, 10 Jul 2012 14:48:56 +0000 (16:48 +0200)
committerTobias Ulmer <tu@emlix.com>
Tue, 10 Jul 2012 14:49:15 +0000 (16:49 +0200)
Signed-off-by: Tobias Ulmer <tu@emlix.com>
generic/err.lua

index e1925439873ecff2dbe2ed1c1311b2afd4c47516..530dc22c4c318770af710354cf347044116d9416 100644 (file)
@@ -62,7 +62,7 @@ function print(e, depth)
        for _,m in ipairs(e.msg) do
                if type(m) == "string" then
                        e2lib.log(1, string.format("%s%s", prefix, m))
-                       prefix = string.format("[%d] ", depth)
+                       prefix = string.format("      [%d]: ", depth)
                else
                        -- it's a sub error
                        m:print(depth)