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 | e3a558f07ff4da49ab1292262a845d547b988d82 (patch) | |
tree | d26012937540efe4ebcd9ed354859b8c1484f2d1 | |
parent | e279823fba8e7ee12afc0cb7aef687fd0c3b3fd9 (diff) | |
download | prosody-e3a558f07ff4da49ab1292262a845d547b988d82.tar.gz prosody-e3a558f07ff4da49ab1292262a845d547b988d82.zip |
util.promise: Remove debug print and assert
-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; |