Open abelrgr opened 7 years ago
I'm sure there's a way to handle this error better! What would you prefer walrus do in this case? Should it simply ignore the :each
block if the @friends
array isn't present?
@jeremyruppel thanks for your answer :) , yeah, it should be better if the block is ignored if the block @friends
is not present.
BTW, Walrus better than others in nodejs
When I was trying to compile the template without the
friends
array (because data is dynamic):I get this message:
There is any way to catch the errors to send over the rest server to show an error into the frontend?
I'm working over nodejs 7.x. BTW the other stuff works really great!