docs: private void printDiagnosticOutput(Throwable throwable) {
          logger.error("The following output will help developers to diagnose the problem:");
          logger.error("---");
          logger.error(String.format("Product: perspective-shell %s", shellInformationProvider.getVersion()));
          
          ByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream();
          PrintStream printStream = new PrintStream(byteArrayOutputStream);
          throwable.printStackTrace(printStream);
          String stackTrace = byteArrayOutputStream.toString();
          logger.error(String.format("Exception: %s", stackTrace));
      }