aboutsummaryrefslogtreecommitdiffstats
path: root/util/pubsub.lua
diff options
context:
space:
mode:
Diffstat (limited to 'util/pubsub.lua')
-rw-r--r--util/pubsub.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/pubsub.lua b/util/pubsub.lua
index 9a5470bf..74fa2be4 100644
--- a/util/pubsub.lua
+++ b/util/pubsub.lua
@@ -293,7 +293,7 @@ function service:create(node, actor, options)
local ok, err = save_node_to_store(self, self.nodes[node]);
if not ok then
self.nodes[node] = nil;
- return ok, err;
+ return ok, "internal-server-error";
end
end