added call of log func for all errors, because of cases when there is no callbacks for errors or pipeline finished working but some uncaught errors could be fired by nested callbacks