Skip to content

Commit

Permalink
Commented who takes care of reporting errors during registration.
Browse files Browse the repository at this point in the history
  • Loading branch information
teclator committed Jan 26, 2017
1 parent d0d1c6b commit 5796d56
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/lib/registration/widgets/registration_code.rb
Expand Up @@ -74,10 +74,13 @@ def register
return false
end


log.info("Registering the system and the base product.")
# Error reports and logs about the registration are mostly handled
# by ConnectHelpers.catch_registration_errors and used by instances
# of RegistrationUI.
return false if !register_system_and_base_product

log.info("System registered with success.")
Storage::InstallationOptions.instance.base_registered = true
end

Expand Down

0 comments on commit 5796d56

Please sign in to comment.