Skip to content

Commit f6f3ce1

Browse files
committed
update to info
Signed-off-by: Tihomir Surdilovic <tihomir@temporal.io>
1 parent 535488e commit f6f3ce1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

core/src/main/java/io/temporal/samples/autoheartbeat/AutoHeartbeater.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ public ScheduledFuture<?> start() {
6666
+ printShortCurrentTime());
6767
context.heartbeat(details);
6868
} catch (Exception e) {
69-
System.out.println("Stopping: " + e.getMessage());
69+
System.out.println("Stopping Autoheartbeater[" + heartbeaterId + "]: " + e.getMessage());
7070
stop();
7171
}
7272
},
@@ -76,7 +76,7 @@ public ScheduledFuture<?> start() {
7676
}
7777

7878
public void stop() {
79-
System.out.println("Autoheartbeater being requested to stop.");
79+
System.out.println("Autoheartbeater[" + heartbeaterId + "] being requested to stop.");
8080
// Try not to execute another heartbeat that could have been queued up
8181
timerService.shutdownNow();
8282
}

0 commit comments

Comments
 (0)