Skip to content

Commit 2d4ce30

Browse files
committed
Status code never gets set as a global variable so does not need to be removed. Trying to set status code to null causes a NullPointerException
1 parent 1b62fdf commit 2d4ce30

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

src/main/java/dev/dsf/bpe/service/ping/SavePong.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ public void execute(ProcessPluginApi api, Variables variables) throws ErrorBound
3131
Target target = variables.getTarget();
3232
logger.debug("Pong received from {}. Saving pong information...", target.getEndpointUrl());
3333
String correlationKey = target.getCorrelationKey();
34-
variables.setJsonVariable("statusCode", null);
3534

3635
Task pong = variables.getLatestTask();
3736

0 commit comments

Comments
 (0)