-
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix crash when trying to connect w/o an ICCID
If there are problems reading the ICCID off the SIM card, the APN selection code repeatedly raises an exception. This isn't good. It would be much better to log an error and raise an alarm in a more general way. This updates the code to validate the ICCID before trying to select an APN. The code in the `with` was really hard to read, so this modifies function calls to make it easier. The modifications are not intended to change any semantics.
- Loading branch information
Showing
3 changed files
with
33 additions
and
28 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
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