Skip to content

Commit

Permalink
#2694 Work-items API extension - revert default update event type on …
Browse files Browse the repository at this point in the history
…'Context update'; revert AbstractBeforeAfterWorkItem.workFinally no logging error
  • Loading branch information
Limraj committed Oct 25, 2023
1 parent c0ef951 commit 4bc25b7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -237,10 +237,7 @@ public void workSuccessFail(Throwable exception) {
}

@Override
public void workFinally(Map<String, Throwable> exceptions) {
if(!exceptions.isEmpty())
LOG.error(exceptionsToString(exceptions) + " - " + this, exceptions.entrySet().iterator().next().getValue());
}
public void workFinally(Map<String, Throwable> exceptions) {}

@Override
public void workFinallyFail(Throwable finallyException, Map<String, Throwable> exceptions) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ public class MetaPointLocatorVO extends AbstractPointLocatorVO implements JsonSe
private int dataTypeId;
@JsonRemoteProperty
private boolean settable;
private int updateEvent = UPDATE_EVENT_CONTEXT_CHANGE;
private int updateEvent = UPDATE_EVENT_CONTEXT_UPDATE;
@JsonRemoteProperty
private String updateCronPattern;
@JsonRemoteProperty
Expand Down

0 comments on commit 4bc25b7

Please sign in to comment.