Skip to content

Commit

Permalink
Split long line
Browse files Browse the repository at this point in the history
  • Loading branch information
wstephenson committed Sep 10, 2014
1 parent 5c36751 commit 511f7a1
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion lib/suse/connect/cli.rb
Expand Up @@ -50,7 +50,11 @@ def execute! # rubocop:disable MethodLength, CyclomaticComplexity
rescue ApiError => e
case e.code
when 401
log.fatal "Error: Not authorised. If using existing SCC credentials, they were not recognised, probably because the registered system was unregistered or deleted. Check #{@options[:url] || 'https://scc.suse.com'} whether your system appears there. If it does not, remove /etc/SUSEConnect, /etc/zypp/credentials.d/* and zypper services using those credentials, and re-register this system."
log.fatal "Error: Not authorised. If using existing SCC credentials, they were not recognised," \
" probably because the registered system was unregistered or deleted." \
" Check #{@options[:url] || 'https://scc.suse.com'} whether your system appears there." \
" If it does not, remove /etc/SUSEConnect, /etc/zypp/credentials.d/* and zypper services" \
" using those credentials, and re-register this system."
else
log.fatal "Error: SCC returned '#{e.message}' (#{e.code})"
end
Expand Down

0 comments on commit 511f7a1

Please sign in to comment.