discord-jadx/app/src/main/java/com/discord/gateway/GatewayDiscovery$discoverGa...

35 lines
1.3 KiB
Java

package com.discord.gateway;
import com.discord.gateway.GatewayDiscovery;
import d0.z.d.m;
import d0.z.d.o;
import kotlin.Unit;
import kotlin.jvm.functions.Function1;
/* compiled from: GatewayDiscovery.kt */
public final class GatewayDiscovery$discoverGatewayUrl$1 extends o implements Function1<Throwable, Unit> {
public final /* synthetic */ Function1 $onFailure;
public final /* synthetic */ GatewayDiscovery this$0;
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
public GatewayDiscovery$discoverGatewayUrl$1(GatewayDiscovery gatewayDiscovery, Function1 function1) {
super(1);
this.this$0 = gatewayDiscovery;
this.$onFailure = function1;
}
/* Return type fixed from 'java.lang.Object' to match base method */
/* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */
@Override // kotlin.jvm.functions.Function1
public /* bridge */ /* synthetic */ Unit invoke(Throwable th) {
invoke(th);
return Unit.a;
}
public final void invoke(Throwable th) {
m.checkNotNullParameter(th, "throwable");
GatewayDiscovery.access$setGatewayUrl$p(this.this$0, null);
GatewayDiscovery.Cache.INSTANCE.setGatewayUrl(null);
this.$onFailure.invoke(th);
}
}