mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-24 04:09:49 +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:
@@ -99,6 +99,7 @@
|
||||
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