private static Throwable handleUnspecifiedTrace() {
    Throwable trace = new Throwable();
    if (ApplicationManager.getApplication().isUnitTestMode()) {
      LOG.error("PSI invalidated outside transaction", trace);
    }
    else {
      LOG.info("PSI invalidated outside transaction", trace);
    }
    return trace;
  }
private static Throwable handleUnspecifiedTrace()