Fix: missing log of error during code completion.