Skip to content

Commit db82f6e

Browse files
benlubasgordonwoodhull
authored andcommitted
fix: unrelated logging error
1 parent 3a6de65 commit db82f6e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • src/resources/filters/common

‎src/resources/filters/common/log.lua‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ function warn(message, offset)
2525
end
2626

2727
function error(message, offset)
28-
io.stderr:write(lunacolors.red("ERROR (" .. caller_info(offset) .. ") " .. message .. "\n"))
28+
io.stderr:write(lunacolors.red(("ERROR (%s) %s\n"):format(caller_info(offset), message)))
2929
end
3030

3131
function fatal(message, offset)

0 commit comments

Comments
 (0)