uber / tchannel

network multiplexing and framing protocol for RPC
MIT License
1.15k stars 129 forks source link

TChannel should provide more error context in timeout errors #1117

Open jcorbin opened 8 years ago

jcorbin commented 8 years ago
node index.js -H /etc/uber/hyperbahn/hosts.json -t ~/keyvalue/thrift/service.thrift josh/keyvalue-server KeyValue::setValue -3 '{"key": "hello", "value": "world"}'
{ [TchannelTimeoutError: request timed out after 136ms (limit was 100ms)]
  type: 'tchannel.timeout',
  message: 'request timed out after 136ms (limit was 100ms)',
  isErrorFrame: true,
  codeName: 'Timeout',
  errorCode: 1,
  originalId: 2,
  name: 'TchannelTimeoutError',
  fullType: 'tchannel.timeout' }
request timed out after 136ms (limit was 100ms)
Raynos commented 8 years ago

+1