Wrong "SCRIPT5022" error in developer tools for exception handled in Promise chain

Duplicate Issue #7113414 • See Issue #7112681


Apr 5, 2016
This issue is public.
See progress on Bug #7112681
Reported by 1 person

Sign in to watch or report this issue.

Steps to reproduce

  1. Run this Promise chain with ms edge^
    .then(() => {
    throw new Error(“test exception”);
    .catch(ex => console.log(“exception handled”))
    .then(() => console.log(“next job”));
  2. Ms edge developer tools will show “SCRIPT5022: test exception”
    It`s wrong behavior of developer tools due to the fact that “test exception” is handled in catch callback.
    Developer tools of another browsers does not show error for this code.
    Sample html attached


0 attachments

    Comments and activity

    • Microsoft Edge Team

      Changed Assigned To to “Leo L.”

      Changed Status to “Duplicate”

    • Hello,

      This item appears to be a duplicate of an existing item of feedback and will be closed out to reflect this. Please follow the existing item here for updates on this issue:


      All the best,
      The MS Edge Team

    You need to sign in to your Microsoft account to add a comment.

    Sign in