summaryrefslogtreecommitdiff
path: root/src/actions/actions.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/actions/actions.cpp')
-rw-r--r--src/actions/actions.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/actions/actions.cpp b/src/actions/actions.cpp
index 2514ac180..d803de671 100644
--- a/src/actions/actions.cpp
+++ b/src/actions/actions.cpp
@@ -884,4 +884,11 @@ impHandler0(serverUnIgnoreAll)
return true;
}
+impHandler0(error)
+{
+ const int *const ptr = nullptr;
+ logger->log("test %d", *ptr);
+ exit(1);
+}
+
} // namespace Actions