We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 847ef09 commit e4f79a4Copy full SHA for e4f79a4
lua/lazy/core/util.lua
@@ -92,7 +92,7 @@ function M.try(fn, opts)
92
end
93
level = level + 1
94
95
- msg = msg .. "\n\n" .. err
+ msg = (msg and (msg .. "\n\n") or "") .. err
96
if #trace > 0 then
97
msg = msg .. "\n\n# stacktrace:\n" .. table.concat(trace, "\n")
98
0 commit comments