diff --git a/lume.lua b/lume.lua index 491be3d..1a1927f 100644 --- a/lume.lua +++ b/lume.lua @@ -349,7 +349,8 @@ function lume.trace(...) local t = { "[" .. info.short_src .. ":" .. info.currentline .. "]" } for i = 1, select("#", ...) do local x = select(i, ...) - t[#t + 1] = (type(x) == "number") and lume.round(x, .01) or (x or "nil") + x = (type(x) == "number") and lume.round(x, .01) or (x or "nil") + t[#t + 1] = tostring(x) end print(table.concat(t, " ")) end