Last modified: 2014-05-05 12:57:24 UTC
Create the following as Module:Foo: local p = {} function p.bar(frame) error('This is an error') end return p Add {{#invoke:foo|bar}} to a page. The script error generated will include: Module:Foo:3: in function "chunk" However, it's actually in function "bar" here.