aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2018-10-25 14:16:14 +0100
committerMatthew Wild <mwild1@gmail.com>2018-10-25 14:16:14 +0100
commite3a558f07ff4da49ab1292262a845d547b988d82 (patch)
treed26012937540efe4ebcd9ed354859b8c1484f2d1
parente279823fba8e7ee12afc0cb7aef687fd0c3b3fd9 (diff)
downloadprosody-e3a558f07ff4da49ab1292262a845d547b988d82.tar.gz
prosody-e3a558f07ff4da49ab1292262a845d547b988d82.zip
util.promise: Remove debug print and assert
-rw-r--r--util/promise.lua1
1 files changed, 0 insertions, 1 deletions
diff --git a/util/promise.lua b/util/promise.lua
index b1c6be02..3c3cc4df 100644
--- a/util/promise.lua
+++ b/util/promise.lua
@@ -51,7 +51,6 @@ local function new_resolve_functions(p)
if resolved then return; end
resolved = true;
if is_promise(e) then
- print ("WOAH") assert(false)
e:next(new_resolve_functions(p));
elseif promise_settle(p, "rejected", next_rejected, p._pending_on_rejected, e) then
p.reason = e;