Skip to content

Commit

Permalink
Catch exceptions also when loading the available extensions (bsc#941491)
Browse files Browse the repository at this point in the history
Conflicts:
	package/yast2-registration.spec
	src/clients/inst_scc.rb
  • Loading branch information
lslezak committed Aug 17, 2015
1 parent 8d9be30 commit 5e8e56b
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
7 changes: 7 additions & 0 deletions package/yast2-registration.changes
@@ -1,3 +1,10 @@
-------------------------------------------------------------------
Fri Aug 14 10:45:56 UTC 2015 - lslezak@suse.cz

- Catch exceptions also when loading the available extensions
(bsc#941491)
- 3.1.141

-------------------------------------------------------------------
Fri Aug 14 08:20:21 UTC 2015 - lslezak@suse.cz

Expand Down
8 changes: 7 additions & 1 deletion src/clients/inst_scc.rb
Expand Up @@ -367,7 +367,13 @@ def get_available_addons
# cache the available addons
return :cancel if init_registration == :cancel

registration_ui.get_available_addons
addons_loaded = Registration::ConnectHelpers.catch_registration_errors do
registration_ui.get_available_addons
end

return :cancel unless addons_loaded

@addons_registered_orig = Registration::Addon.registered.dup
end

# register all selected addons
Expand Down

0 comments on commit 5e8e56b

Please sign in to comment.