grpc-dart
grpc-dart copied to clipboard
Deadline exceeded errors do not contain stacktrace
No stack trace shown for dealine exceeded errors.
(version: "3.1.0-dev")
Repro steps
- checkout timeout branch from https://github.com/tarobins/grpc-dart/tree/timeout
- start helloworld example server
- run helloworld example client
Expected result:
Caught error: gRPC Error (code: 4, codeName: DEADLINE_EXCEEDED, message: Deadline exceeded, details: null, rawResponse: null, trailers: {})
Stack trace
That's all folks.
robinsontom-macbookpro1 example/helloworld$ dart bin/client.dart
Caught error: gRPC Error (code: 4, codeName: DEADLINE_EXCEEDED, message: Deadline exceeded, details: null, rawResponse: null, trailers: {})
Stack trace
#0 ClientCall._onTimedOut (package:grpc/src/client/call.dart:303:43)
#1 Timer._createTimer.<anonymous closure> (dart:async-patch/timer_patch.dart:18:15)
#2 _Timer._runTimers (dart:isolate-patch/timer_impl.dart:398:19)
#3 _Timer._handleMessage (dart:isolate-patch/timer_impl.dart:429:5)
#4 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:192:12)
That's all folks.
Actual result:
Caught error: gRPC Error (code: 4, codeName: DEADLINE_EXCEEDED, message: Deadline exceeded, details: null, rawResponse: null, trailers: {})
Stack trace
That's all folks.