From 511f7a155a63b2234603923fb22cc1252fa3f751 Mon Sep 17 00:00:00 2001 From: Will Stephenson Date: Wed, 10 Sep 2014 08:43:02 +0200 Subject: [PATCH] Split long line --- lib/suse/connect/cli.rb | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lib/suse/connect/cli.rb b/lib/suse/connect/cli.rb index dca9cb66..602bff93 100644 --- a/lib/suse/connect/cli.rb +++ b/lib/suse/connect/cli.rb @@ -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