Kengo Seki created THRIFT-5052:
----------------------------------
Summary: Make the Go tutorial executable to the end
Key: THRIFT-5052
URL: https://issues.apache.org/jira/browse/THRIFT-5052
Project: Thrift
Issue Type: Improvement
Components: Tutorial
Reporter: Kengo Seki
Assignee: Kengo Seki
Running the Go tutorial fails with division by zero, as follows:
{code}
thrift/tutorial/go$ make tutorialclient
/home/sekikn/repos/thrift/compiler/cpp/thrift --gen go -r
../../tutorial/tutorial.thrift
GOPATH=`pwd` /usr/bin/go run src/*.go
ping()
1+1=2
Invalid operation: InvalidOperation({WhatOp:4 Why:Cannot divide by 0})
error running client: InvalidOperation({WhatOp:4 Why:Cannot divide by 0})
{code}
But I think it should be executed to the end just as other language examples,
because the error is an intended one and this is a code example.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)