protected function getWireshellErrorMessage($wireshellOutput) {
		$message = $wireshellOutput;

		return $message;

		// convert wireshell exception output to error message
		$match = null;
		if (preg_match("/\[[A-Za-z]+Exception\](.+)\R\R/s", $message, $match)) {
			// Remove '[*Exception]' info
			//$message = preg_replace("/^\s+\[[A-Za-z]+Exception\]/", "", $message);
			//$message = trim($message);

			$message = $match[1];

			// Remove command usage info (separated from exception by multiple empty lines)
			$message = substr($message, 0, strpos($message, PHP_EOL . PHP_EOL));
			$message = trim($message);

			// trim lines
			$message = implode(PHP_EOL, array_map(function ($line) {
				return trim($line);
			}, explode(PHP_EOL, $message)));
		}

		return $message;
	}