diff options
author | Matthew Wild <mwild1@gmail.com> | 2018-10-25 14:16:14 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2018-10-25 14:16:14 +0100 |
commit | fbe4c4505213dac714141c1e94a1678f5efc7fdc (patch) | |
tree | d26012937540efe4ebcd9ed354859b8c1484f2d1 /util | |
parent | 801e965b8d34d493eb73b72722ee5a867e54f116 (diff) | |
download | prosody-fbe4c4505213dac714141c1e94a1678f5efc7fdc.tar.gz prosody-fbe4c4505213dac714141c1e94a1678f5efc7fdc.zip |
util.promise: Remove debug print and assert
Diffstat (limited to 'util')
-rw-r--r-- | util/promise.lua | 1 |
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; |