mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-23 20:00:00 +00:00
Fix decrypt error handling
This rejection-handler was resolving its promise rather than allowing the rejection to bubble up.
This commit is contained in:
@@ -39595,6 +39595,7 @@ function generateKeys(count, progressCallback) {
|
||||
ev.error = error;
|
||||
ev.proto = envelope;
|
||||
this.target.dispatchEvent(ev);
|
||||
throw error; // reject this promise
|
||||
}.bind(this));
|
||||
},
|
||||
handleSentMessage: function(destination, timestamp, message) {
|
||||
|
||||
Reference in New Issue
Block a user