open static fun <T : Any!> autoLog(future: Future<T>!, futureMessage: String!): Future<T>!
Returns a future that log errors and cancel
future
- Future<T>!: the original future
futureMessage
- String!: the future message
Return
Future<T>!: a future of the execution