qisdk / com.aldebaran.qi.sdk.util / FutureUtils / autoLog

autoLog

open static fun <T : Any!> autoLog(future: Future<T>!, futureMessage: String!): Future<T>!

Returns a future that log errors and cancel

Parameters

future - Future<T>!: the original future

futureMessage - String!: the future message

- the result type

Return
Future<T>!: a future of the execution