Retry API, standardize <script> list
This commit is contained in:
parent
8f49d201e6
commit
cf35b7056f
7 changed files with 143 additions and 70 deletions
|
@ -104,6 +104,8 @@ window.textsecure.api = function() {
|
|||
textsecure.throwHumanError(code, "HTTPError", "The server rejected our query, please file a bug report.");
|
||||
}
|
||||
} catch (e) {
|
||||
if (jqXHR.responseJSON)
|
||||
e.response = jqXHR.responseJSON;
|
||||
reject(e);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue