You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/usr/local/share/lua/5.1/lapis/application.lua:526: attempt to call a table value
stack traceback:
Traceback
stack traceback:
[C]: in function 'error'
/usr/local/share/lua/5.1/lapis/application.lua:526: in function 'handler'
/usr/local/share/lua/5.1/lapis/application.lua:338: in function 'resolve'
/usr/local/share/lua/5.1/lapis/application.lua:347: in function </usr/local/share/lua/5.1/lapis/application.lua:345>
[C]: in function 'xpcall'
/usr/local/share/lua/5.1/lapis/application.lua:345: in function 'dispatch'
/usr/local/share/lua/5.1/lapis/nginx.lua:170: in function </usr/local/share/lua/5.1/lapis/nginx.lua:168>
Get this when running
etlua = require 'etlua'
lapis.serve class extends lapis.Application
[index: '/:slug']: capture_errors =>
-- ... some code
template = etlua.compile '<span><%= slug%></span>'
-- ... some more code
Get this when running
in a lapis application.
This works in a console application:
The text was updated successfully, but these errors were encountered: