15 Feb
2008
15 Feb
'08
5:15 a.m.
Stefan Winter wrote:
these stanzas return "notfound" on places where I wouldn't expect it...
The issue is that the return codes from an "update" section shouldn't affect earlier return codes, as in: if (reject) { update reply { Reply-Message = "You suck!" } # if this returns "updated" } # this returns "updated", too, and NOT "reject"
Obviously, the server performs the request and reply updates. Debug output says that both returned "notfound" though. Shouldn't they return "updated", at least for the sake of clarity when reading debug output? At first glance, I thought I got the syntax of unlang wrong when I read "notfound".
It's about setting expectations, I guess. Alan DeKok.