summaryrefslogtreecommitdiff
path: root/src/main/java/events/implementations/VSVectorTimestampEvent.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/events/implementations/VSVectorTimestampEvent.java')
-rw-r--r--src/main/java/events/implementations/VSVectorTimestampEvent.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/main/java/events/implementations/VSVectorTimestampEvent.java b/src/main/java/events/implementations/VSVectorTimestampEvent.java
index 4d3b327..f54b3f7 100644
--- a/src/main/java/events/implementations/VSVectorTimestampEvent.java
+++ b/src/main/java/events/implementations/VSVectorTimestampEvent.java
@@ -74,8 +74,10 @@ public class VSVectorTimestampEvent 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("Vector timestamp event custom action failed", e);
}
}