File tree 2 files changed +11
-2
lines changed
src/main/java/com/uber/cadence/serviceclient
2 files changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ services:
27
27
- statsd
28
28
29
29
cadence :
30
- image : ubercadence/server:master -auto-setup
30
+ image : ubercadence/server:latestRelease -auto-setup
31
31
logging :
32
32
driver : none
33
33
ports :
Original file line number Diff line number Diff line change @@ -2429,7 +2429,14 @@ private void getWorkflowExecutionHistory(
2429
2429
r .getBody (WorkflowService .GetWorkflowExecutionHistory_result .class );
2430
2430
2431
2431
if (r .getResponseCode () == ResponseCode .OK ) {
2432
- resultHandler .onComplete (result .getSuccess ());
2432
+ GetWorkflowExecutionHistoryResponse res = result .getSuccess ();
2433
+ if (res .getRawHistory () != null ) {
2434
+ History history =
2435
+ InternalUtils .DeserializeFromBlobToHistoryEvents (
2436
+ res .getRawHistory (), getRequest .getHistoryEventFilterType ());
2437
+ res .setHistory (history );
2438
+ }
2439
+ resultHandler .onComplete (res );
2433
2440
return ;
2434
2441
}
2435
2442
if (result .isSetBadRequestError ()) {
@@ -2447,6 +2454,8 @@ private void getWorkflowExecutionHistory(
2447
2454
resultHandler .onError (
2448
2455
new TException (
2449
2456
"GetWorkflowExecutionHistory failed with unknown " + "error:" + result ));
2457
+ } catch (TException tException ) {
2458
+ resultHandler .onError (tException );
2450
2459
} finally {
2451
2460
if (r != null ) {
2452
2461
r .release ();
You can’t perform that action at this time.
0 commit comments