handleGenericError

fun <T> handleGenericError(logger: Logger, context: Map<String, Any?>, operation: String, e: Exception): T?

Logs an ordinary failure and returns null. Cancellation and interruption propagate without being logged as operation failures.