express-ejs-layouts icon indicating copy to clipboard operation
express-ejs-layouts copied to clipboard

Wrong ReferenceError in layout

Open DraconPern opened this issue 3 years ago • 0 comments

It seems like node prints out the wrong variable name when something is not defined. I had <%= title %> and <%= uid %> and with not passing uid, it gave me a title is not defined error. It also referenced the line title is on. The title ref was first in the file.

DraconPern avatar Sep 18 '22 06:09 DraconPern