Visor CMD: Fixed stack overflow for VisorConsoleCommand.warn() method.
package org.apache.ignite.visor.commands.common
import org.apache.ignite.visor.visor.NA
+import org.apache.ignite.visor.visor
import scala.collection.JavaConversions._
@@ -41,8 +42,8 @@ trait VisorConsoleCommand {
assert(warnMsgs != null)
warnMsgs.foreach{
- case ex: Throwable => warn(ex.getMessage)
- case line => warn(line)
+ case ex: Throwable => visor.warn(ex.getMessage)
+ case line => visor.warn(line)
}
}
