mirror of
https://github.com/bjc/prosody.git
synced 2025-04-04 05:37:39 +03:00
util.promise: Remove debug print and assert
This commit is contained in:
parent
e12412bc08
commit
5d8613b3c1
1 changed files with 0 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue