We should be able to detect that the SIM card has been extracted (or, just, it is no longer available, for whatever reason) and get the modem into Failed state directly. Right now we don't monitor this, and if we get any SIM missing error during the standard operation of the modem, we just assume is like any other error we may get (i.e. not fatal to get into Failed state).
-- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/mobile-broadband/ModemManager/issues/37.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.