diff --git a/src/main/java/org/elasticsearch/watcher/execution/WatchExecutionSnapshot.java b/src/main/java/org/elasticsearch/watcher/execution/WatchExecutionSnapshot.java index 142c1ffd33f..9d6d3b11e9e 100644 --- a/src/main/java/org/elasticsearch/watcher/execution/WatchExecutionSnapshot.java +++ b/src/main/java/org/elasticsearch/watcher/execution/WatchExecutionSnapshot.java @@ -82,8 +82,8 @@ public class WatchExecutionSnapshot implements Streamable, ToXContent { watchRecordId = in.readString(); triggeredTime = new DateTime(in.readVLong(), DateTimeZone.UTC); executionTime = new DateTime(in.readVLong(), DateTimeZone.UTC); - int size = in.readVInt(); phase = ExecutionPhase.parse(in.readString()); + int size = in.readVInt(); executionStackTrace = new StackTraceElement[size]; for (int i = 0; i < size; i++) { String declaringClass = in.readString();