title: How to log if a completableFuture fails?
body: <p>i have this method:</p>
  
  <pre><code>default &lt;U&gt; CompletableFuture&lt;U&gt; submit(Supplier&lt;U&gt; supplier) {
      return CompletableFuture.supplyAsync(supplier, .....getThreadPool());
  }
  </code></pre>
  
  <p>it is used widely by different classes, but currently if a computation fails there is no default logging. My first approach is:</p>
  
  <pre><code>.exceptionally(throwable -&gt;
                  .....handleThrowable(throwable, runnable);
  )
  </code></pre>
  
  <p>But this method is intended for recovery, since i have to return something. What if i just want to log it? </p>