Kap icon indicating copy to clipboard operation
Kap copied to clipboard

Unhandled Promise Rejection

Open skllcrn opened this issue 3 years ago • 3 comments

Sentry Issue: KAP-9HX

macOS version: Big Sur (11) Kap version: 3.3.2

Unhandled Promise Rejection

CancelError: Promise was canceled
    at PCancelable.cancel (/p-cancelable/index.js:99:17)
    at Object.didStopRecording (/kap-key-cast/index.js:54:17)
    at /Applications/Kap.app/Contents/Resources/app.asar/dist-js/aperture.js:40:83
    at Array.map (<anonymous>)
    at callPlugins (/Applications/Kap.app/Contents/Resources/app.asar/dist-js/aperture.js:36:68)
    at cleanup (/Applications/Kap.app/Contents/Resources/app.asar/dist-js/aperture.js:56:11)
    at Tray.exports.stopRecording (/Applications/Kap.app/Contents/Resources/app.asar/dist-js/aperture.js:170:9)

skllcrn avatar Mar 17 '21 14:03 skllcrn

Just got a similar, almost the same, error on version 3.3.2.1718 Big Sur, M1 mac:

Unhandled Promise Rejection
CancelError: Promise was canceled
    at PCancelable.cancel (/p-cancelable/index.js:99:17)
    at Object.didStopRecording (/kap-key-cast/index.js:54:17)
    at /Applications/Kap.app/Contents/Resources/app.asar/main/common/aperture.js:56:28
    at Array.map (<anonymous>)
    at callPlugins (/Applications/Kap.app/Contents/Resources/app.asar/main/common/aperture.js:53:66)
    at cleanup (/Applications/Kap.app/Contents/Resources/app.asar/main/common/aperture.js:74:9)
    at Tray.stopRecording (/Applications/Kap.app/Contents/Resources/app.asar/main/common/aperture.js:218:5)

thinkjrs avatar Jun 25 '21 13:06 thinkjrs

similar issue on Big Sur, Intel chip.

Unhandled Promise Rejection
CancelError: Promise was canceled
    at PCancelable.cancel (/p-cancelable/index.js:99:17)
    at Object.didStopRecording (/kap-key-cast/index.js:54:17)
    at /Applications/Kap.app/Contents/Resources/app.asar/main/common/aperture.js:56:28
    at Array.map (<anonymous>)
    at callPlugins (/Applications/Kap.app/Contents/Resources/app.asar/main/common/aperture.js:53:66)
    at cleanup (/Applications/Kap.app/Contents/Resources/app.asar/main/common/aperture.js:74:9)
    at Tray.stopRecording (/Applications/Kap.app/Contents/Resources/app.asar/main/common/aperture.js:218:5)

samundra avatar Jul 16 '21 08:07 samundra

Fix is in https://github.com/karaggeorge/macos-key-cast/pull/15

thejustinwalsh avatar Aug 16 '21 20:08 thejustinwalsh