Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Popup window with Unhandled Promise Rejection error when closing #6022

Open
janvlug opened this issue Jul 11, 2022 · 1 comment
Open

Popup window with Unhandled Promise Rejection error when closing #6022

janvlug opened this issue Jul 11, 2022 · 1 comment
Labels

Comments

@janvlug
Copy link

janvlug commented Jul 11, 2022

When I closed Signal Desktop, installed as flatpak, on my Fedora 36 system, I got this error.

Unhandled Promise Rejection

Error: Promise rejected with a non-error: "Error: Rejecting SQL channel job (createOrUpdateItem); application is shutting down\n    at _makeJob ([REDACTED]/preload.bundle.js:66134:11)\n    at Object.createOrUpdateItem ([REDACTED]/preload.bundle.js:66207:19)\n    at Object.createOrUpdateItem ([REDACTED]/preload.bundle.js:66334:18)\n    at Storage.put ([REDACTED]/preload.bundle.js:111298:34)\n    at persistZoomFactor ([REDACTED]/preload.bundle.js:205658:55)\n    at EventEmitter.<anonymous> ([REDACTED]/preload.bundle.js:8710:78)\n    at EventEmitter.emit (node:events:526:28)\n    at Object.onMessage (node:electron/js2c/renderer_init:69:746)"
    at _getError ([REDACTED]/app/global_errors.js:67:10)
    at process.<anonymous> ([REDACTED]/app/global_errors.js:81:48)
    at process.emit (node:events:526:28)
    at emit (node:internal/process/promises:140:20)
    at processPromiseRejections (node:internal/process/promises:269:11)
    at process.processTicksAndRejections (node:internal/process/task_queues:97:32)

This only happened once.
This is the debug log after I started Signal again when the above error happened.

@scottnonnenberg-signal
Copy link
Contributor

The original stack:

Error: Promise rejected with a non-error: "Error: Rejecting SQL channel job (createOrUpdateItem); application is shutting down
    at _makeJob ([REDACTED]/preload.bundle.js:66134:11)
    at Object.createOrUpdateItem ([REDACTED]/preload.bundle.js:66207:19)
    at Object.createOrUpdateItem ([REDACTED]/preload.bundle.js:66334:18)
    at Storage.put ([REDACTED]/preload.bundle.js:111298:34)
    at persistZoomFactor ([REDACTED]/preload.bundle.js:205658:55)
    at EventEmitter.<anonymous> ([REDACTED]/preload.bundle.js:8710:78)
    at EventEmitter.emit (node:events:526:28)
    at Object.onMessage (node:electron/js2c/renderer_init:69:746)"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

2 participants