Skip to content

Commit

Permalink
Fix reconnecting for Error Store
Browse files Browse the repository at this point in the history
  • Loading branch information
dilini-muthumala committed Nov 4, 2021
1 parent 5626bc5 commit 801536d
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -435,6 +435,7 @@ public void onError(Object payload, DynamicOptions dynamicOptions, Exception e)
}
break;
case STORE:
connectWithRetry();
ErroneousEvent erroneousEvent = new ErroneousEvent(dynamicOptions.getEvent(), e, e.getMessage());
erroneousEvent.setOriginalPayload(payload);
ErrorStoreHelper.storeErroneousEvent(siddhiAppContext.getSiddhiContext().getErrorStore(),
Expand Down

0 comments on commit 801536d

Please sign in to comment.