refactor: header flushing
This commit is contained in:
@@ -27,7 +27,7 @@ function BaseObject:print()
|
||||
end
|
||||
|
||||
function BaseObject:error(msg,...)
|
||||
html()
|
||||
std.html()
|
||||
--local line = debug.getinfo(1).currentline
|
||||
local emsg = string.format(msg or "ERROR",...)
|
||||
echo(emsg)
|
||||
|
||||
Reference in New Issue
Block a user