lib/exceptions.rb in machinery-tool-1.20.0 vs lib/exceptions.rb in machinery-tool-1.21.0
- old
+ new
@@ -63,10 +63,9 @@
@description = description
@scopes = scopes
end
def to_s
- meta = @description[@scopes.first].meta
hostname = @scopes.map do |s|
@description[s].meta.hostname if @description[s].meta
end.compact.first || "<HOSTNAME>"
formatted_scopes = Machinery::Ui.internal_scope_list_to_string(@scopes)