summaryrefslogtreecommitdiff
path: root/src/config/legacy/DispatcherTranslator.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/config/legacy/DispatcherTranslator.cpp')
-rw-r--r--src/config/legacy/DispatcherTranslator.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/config/legacy/DispatcherTranslator.cpp b/src/config/legacy/DispatcherTranslator.cpp
index 68719dc8..0521f161 100644
--- a/src/config/legacy/DispatcherTranslator.cpp
+++ b/src/config/legacy/DispatcherTranslator.cpp
@@ -34,7 +34,7 @@ SDispatchResult CDispatcherTranslator::run(const std::string& d, const std::stri
// helper: convert ActionResult to SDispatchResult
static SDispatchResult wrap(ActionResult res) {
if (!res)
- return {.success = false, .error = res.error()};
+ return {.success = false, .error = res.error().message};
return {.passEvent = res->passEvent};
}