Uploaded image for project: 'AeroGear'
  1. AeroGear
  2. AEROGEAR-10029

unhandled promise rejection in MDC

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • None
    • None

    Description

      The following error is seen in the console when the MDC server is started with errors communicating the openshift server. We should handle the rejection properly.

      (node:18) UnhandledPromiseRejectionWarning: Error: [object Object]
          at _request (/opt/app-root/src/node_modules/kubernetes-client/backends/request/client.js:225:25)
          at Request.request [as _callback] (/opt/app-root/src/node_modules/kubernetes-client/backends/request/client.js:162:14)
          at Request.self.callback (/opt/app-root/src/node_modules/request/request.js:185:22)
          at Request.emit (events.js:198:13)
          at Request.<anonymous> (/opt/app-root/src/node_modules/request/request.js:1161:10)
          at Request.emit (events.js:198:13)
          at IncomingMessage.<anonymous> (/opt/app-root/src/node_modules/request/request.js:1083:12)
          at Object.onceWrapper (events.js:286:20)
          at IncomingMessage.emit (events.js:203:15)
          at endReadableNT (_stream_readable.js:1145:12)
      (node:18) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 54)
      waiting 5000 milliseconds before attempting services watches again attempt 54 of 60
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            weil@redhat.com Wei Li (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: