dojo / core

:rocket: Dojo 2 - language helpers and utilities.
http://dojo.io
Other
213 stars 58 forks source link

Unhandled Promise Rejection Warnings #229

Closed kitsonk closed 7 years ago

kitsonk commented 8 years ago

Now that we have migrated to native Promises in dojo-shim, we are getting a significant amount of unhandled promise rejection notifications in CI now that we should investigate and eliminate:

✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓(node:3631) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 21): undefined
✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓(node:3631) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 23): undefined
✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓DEPRECATED: This function will be removed in future versions.
✓DEPRECATED: foo
✓DEPRECATED: foo: This function will be removed in future versions.
✓DEPRECATED: This function will be removed in future versions.
    See foo for more details.
✓✓DEPRECATED: This function will be removed in future versions.
✓✓DEPRECATED: Foo#method: This function will be removed in future versions.
✓✓DEPRECATED: This function will be removed in future versions.
✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓~~✓✓✓✓(node:3631) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 38): Error: [POST http://localhost:8124/?dataKey=postStream] test
(node:3631) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 39): Error: [POST http://localhost:8124/?dataKey=postStream] test
(node:3631) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 40): Error: [POST http://localhost:8124/?dataKey=postStream] test
✓✓✓✓✓✓✓✓(node:3631) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 41): TypeError: Cannot read property 'value' of undefined
✓(node:3631) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 42): TypeError: Stream is already closed
(node:3631) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 43): Error: [GET http://localhost:8124/?dataKey=foo.json] test
(node:3631) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 44): Error: [GET http://localhost:8124/?dataKey=foo.json] test
✓(node:3631) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 45): Error: [GET http://localhost:8124/?dataKey=foo.json] test
✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓(node:3631) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 46): TypeError: Cannot read property 'value' of undefined
✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓(node:3631) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 49): Error: test error
(node:3631) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 55): Error: 3.5.7-1: State must be Readable
(node:3631) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 56): Error: 3.5.7-1: State must be Readable
(node:3631) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 57): TypeError: Cannot read property 'value' of undefined
(node:3631) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 58): TypeError: Cannot read property 'value' of undefined
(node:3631) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 59): TypeError: Cannot read property 'value' of undefined
(node:3631) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 61): Error: test
(node:3631) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 62): Error: test
(node:3631) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 65): Error: test
(node:3631) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 66): Error: test
(node:3631) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 67): TypeError: 3.5.12-2: reader state is Errored
(node:3631) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 69): Error: because
(node:3631) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 70): TypeError: Cannot read property 'value' of undefined
(node:3631) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 71): TypeError: Cannot read property 'value' of undefined
(node:3631) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 72): TypeError: Cannot read property 'value' of undefined
(node:3631) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 74): Error: because
(node:3631) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 77): TypeError: Cannot read property 'value' of undefined
(node:3631) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 78): TypeError: 3.5.12-2: reader state is Errored
(node:3631) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 79): TypeError: Cannot read property 'value' of undefined
(node:3631) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 80): TypeError: Cannot read property 'value' of undefined
(node:3631) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 81): TypeError: Cannot read property 'value' of undefined
(node:3631) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 82): TypeError: Cannot read property 'value' of undefined
(node:3631) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 83): TypeError: Cannot read property 'value' of undefined
(node:3631) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 84): TypeError: Cannot read property 'value' of undefined
(node:3631) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 92): TypeError: Cannot read property 'value' of undefined
✓(node:3631) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 93): Error: Transform#flush test error
✓✓✓✓✓✓✓✓✓✓✓(node:3631) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 96): Error: Transform#transform test error
(node:3631) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 97): Error: Transform#transform test error
✓✓✓(node:3631) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 99): Error: test error
✓(node:3631) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 100): Error: test error
✓✓✓✓✓✓✓✓✓✓✓(node:3631) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 106): Error: Stream.close test error
(node:3631) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 109): TypeError: Cannot read property 'value' of undefined
✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓(node:3631) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 110): TypeError: Cannot read property 'value' of undefined
(node:3631) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 111): Error: Strategy.size test error
(node:3631) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 113): Error: test
(node:3631) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 116): Error: Abort for test
(node:3631) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 120): Error: Stream.abort test error
(node:3631) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 122): Error: abc
(node:3631) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 123): Error: abc