Jens Geyer created THRIFT-2645:
----------------------------------

             Summary: generated Go server code always sets Success retval
                 Key: THRIFT-2645
                 URL: https://issues.apache.org/jira/browse/THRIFT-2645
             Project: Thrift
          Issue Type: Bug
          Components: Go - Compiler
    Affects Versions: 0.9.2
            Reporter: Jens Geyer
            Assignee: Jens Geyer
             Fix For: 0.9.2


I just recognized that the generated Go server code always sets the {{Success}} 
result value, even in case of an exception. This leads to problems with some 
clients, because the {{Success}} value is typically checked before the 
exception fields. 

Test case: Some tutorial clients report that "we can divide by 0", if run 
against the Go tutorial server.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to