Right now if you forget to add a return statement to a node, and then click into the Beehave debugging tree you get this error message:

If it's your first time running into that error it can take ages to figure out what's going on. The stack trace also often doesn't actually link back to that node.