Fix handling for automation debug formatting errors

One spot was missed when converting stuff over to using error_Tag rather
than lua_error for stack unwinding on errors.