Remove check for .humanError property
This property is no longer used by any of our errors. // FREEBIE
This commit is contained in:
@@ -39801,11 +39801,9 @@ window.textsecure.messaging = function() {
|
||||
};
|
||||
|
||||
var registerError = function(number, message, error) {
|
||||
if (error) {
|
||||
if (error.humanError)
|
||||
message = error.humanError;
|
||||
} else
|
||||
if (!error) {
|
||||
error = new Error(message);
|
||||
}
|
||||
errors[errors.length] = { number: number, reason: message, error: error };
|
||||
numberCompleted();
|
||||
};
|
||||
|
Reference in New Issue
Block a user