lib/u3d/log_analyzer.rb in u3d-1.0.3 vs lib/u3d/log_analyzer.rb in u3d-1.0.4

- old
+ new

@@ -195,11 +195,11 @@ def finish_phase if @active_rule # Active rule should be finished # If it is still active during phase change, it means that something went wrong - context = @lines_memory.map { |l| "\n> #{l}" }.join('') - UI.error("[#{@active_phase}] Could not finish active rule '#{@active_rule}'. Aborting it. Context:#{context}") + context = @lines_memory.map { |l| "> #{l}" }.join('') + UI.error("[#{@active_phase}] Could not finish active rule '#{@active_rule}'. Aborting it. Context:\n#{context}") @active_rule = nil end UI.verbose("--- Ending #{@active_phase} phase ---") @active_phase = nil @context.clear