aboutsummaryrefslogtreecommitdiffstats
path: root/util/promise.lua
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
commit5d8613b3c136f556a8fd4f0ebb28475af1fa1763 (patch)
treed26012937540efe4ebcd9ed354859b8c1484f2d1 /util/promise.lua
parente12412bc080a70f9d90a4d42cede63b8119f3b34 (diff)
downloadprosody-5d8613b3c136f556a8fd4f0ebb28475af1fa1763.tar.gz
prosody-5d8613b3c136f556a8fd4f0ebb28475af1fa1763.zip
util.promise: Remove debug print and assert
Diffstat (limited to 'util/promise.lua')
-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;