wulkano / Kap

An open-source screen recorder built with web technology
https://getkap.co
MIT License
17.82k stars 818 forks source link

Unhandled Promise Rejection #993

Open skllcrn opened 3 years ago

skllcrn commented 3 years ago

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)
thinkjrs commented 3 years ago

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)
samundra commented 3 years ago

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)
thejustinwalsh commented 2 years ago

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