erlang: move thrift_client connect logic into a handle_call and call it in start_link
authorDavid Reiss <dreiss@apache.org>
Wed, 11 Jun 2008 01:02:10 +0000 (01:02 +0000)
committerDavid Reiss <dreiss@apache.org>
Wed, 11 Jun 2008 01:02:10 +0000 (01:02 +0000)
commite5a4d0c576a30e7a324890ec552e190afdd6ac27
treeab7b8add3c7153c56b12a137715c61a39182df71
parent672968d6e913e02931cc689f1221aa7e87ca4d8e
erlang: move thrift_client connect logic into a handle_call and call it in start_link

Summary: a failure in thrift_client:init would cause the invoker to exit, but we'd rather just return {error, Error} from start_link and let the invoker crash if it wants

Reviewed By: eletuchy

Test Plan: makes mouths happy

Revert Plan: ok

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@666450 13f79535-47bb-0310-9956-ffa450edef68
lib/alterl/src/thrift_client.erl