summaryrefslogtreecommitdiff
path: root/src/main/java/events/implementations/VSLamportTimestampEvent.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/events/implementations/VSLamportTimestampEvent.java')
-rw-r--r--src/main/java/events/implementations/VSLamportTimestampEvent.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/main/java/events/implementations/VSLamportTimestampEvent.java b/src/main/java/events/implementations/VSLamportTimestampEvent.java
index 272ea06..28da7dc 100644
--- a/src/main/java/events/implementations/VSLamportTimestampEvent.java
+++ b/src/main/java/events/implementations/VSLamportTimestampEvent.java
@@ -73,8 +73,10 @@ public class VSLamportTimestampEvent extends VSTimestampTriggeredEvent {
if (customAction != null) {
try {
customAction.run();
- } catch (Exception e) {
+ } catch (RuntimeException e) {
+ // Log the error but don't let it stop the event processing
internalProcess.log("Error executing custom action: " + e.getMessage());
+ exceptions.VSErrorHandler.warning("Lamport timestamp event custom action failed", e);
}
}