package androidx.work.impl.utils; import androidx.core.util.Consumer; import androidx.work.Logger; import androidx.work.WorkerExceptionInfo; import kotlin.jvm.internal.Intrinsics; import kotlin.jvm.internal.SourceDebugExtension; @SourceDebugExtension({"SMAP\nWorkerExceptionUtils.kt\nKotlin\n*S Kotlin\n*F\n+ 1 WorkerExceptionUtils.kt\nandroidx/work/impl/utils/WorkerExceptionUtilsKt\n+ 2 LoggerExt.kt\nandroidx/work/LoggerExtKt\n*L\n1#1,37:1\n32#2:38\n*S KotlinDebug\n*F\n+ 1 WorkerExceptionUtils.kt\nandroidx/work/impl/utils/WorkerExceptionUtilsKt\n*L\n34#1:38\n*E\n"}) /* loaded from: classes.dex */ public final class WorkerExceptionUtilsKt { public static final void safeAccept(Consumer consumer, WorkerExceptionInfo info, String tag) { Intrinsics.checkNotNullParameter(consumer, ""); Intrinsics.checkNotNullParameter(info, "info"); Intrinsics.checkNotNullParameter(tag, "tag"); try { consumer.accept(info); } catch (Throwable th) { Logger.get().error(tag, "Exception handler threw an exception", th); } } }