Add logging for failure to finish.
automerge: a11bb74

* commit 'a11bb7427171418681428754051d5ee4dce851ee':
  Add logging for failure to finish.