forked from signalapp/Signal-Desktop
-
Notifications
You must be signed in to change notification settings - Fork 191
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Log more info w/http errors, resilient to invalid group members (#1968)
* api.js: HttpError now preserves more of original error info * Allow invalid conversation to be added to ConversationController If a number we don't believe is valid comes in as part of a group, we fall apart. We event prevent display of that conversation. Because we have 'isValid()' protections in place for the places we create contacts from user input in desktop (the search bar), we can temporarily add an invalid contact to our collection (not saving it to the database) to unblock this group scenario. Still investigating what kind of phone number is valid in a mobile app but not valid for us. * Finish the debuggable error support * Fix logging in the case of an invalid number
- Loading branch information
1 parent
177dfb3
commit ce01eb7
Showing
2 changed files
with
34 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters