ttrss: Don't show app in enabled list of apps if install fails
Closes: #1615 (closed).
Tests:
-
Throw an unconditional exception in enable_api_access() method. Reproduce the problem described by installing ttrss app. Installation fails but ttrss shows up in enabled list.
-
Apply the patch. Try to install ttrss. When it fails, the app is not in the enabled list.
Signed-off-by: Sunil Mohan Adapa sunil@medhas.org