Skip to content

Commit

Permalink
Merge pull request #1755 from dilini-muthumala/master
Browse files Browse the repository at this point in the history
Fix reconnecting for Error Store
  • Loading branch information
dilini-muthumala authored Nov 5, 2021
2 parents 5626bc5 + 801536d commit a3c9c6b
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 a3c9c6b

Please sign in to comment.