Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-82637

Unhandled Promise Rejections in QJSEngine

    XMLWordPrintable

Details

    Description

      MDN: https://developer.mozilla.org/en-US/docs/Web/API/Window/unhandledrejection_event
      Node.js: https://nodejs.org/api/process.html#process_event_unhandledrejection

      It would be nice if QJSEngine will have the ability to catch the unhandled promise rejection events, so that we can, for example, print the unhandled error messages to console just like common errors do by default.

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              qtqmlteam Qt Qml Team User
              gpbeta Joshua GPBeta
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes