Skip to content

catch error  #5

@juchanhwang

Description

@juchanhwang

if i modify this code(in then() method)

super.then(
  value => onSettled("resolved", value, onFulfilled),
  reason => onSettled("rejected", reason, onRejected)
);

to

super
  .then( value => onSettled("resolved", value, onFulfilled))
  .catch( reason => onSettled("rejected", reason, onRejected))

my code occures this error
abortable-promise.ts:131 Uncaught (in promise) RangeError: Maximum call stack size exceeded

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions