public static <T> T logError(@NotNull Throwable throwable) {
    Throwable e = unwrap(throwable);
    if (!(e instanceof CancellationException)) {
      DebuggerUtilsImpl.logError(e.getMessage(), e, true); // wrap to keep the exact catch position
    }
    return null;
  }
public static <T> T logError(@NotNull Throwable throwable)