mirror of
https://github.com/wabbajack-tools/wabbajack.git
synced 2024-08-30 18:42:17 +00:00
Make it an exception again
This commit is contained in:
parent
76ba2819a1
commit
6150764da8
@ -62,7 +62,7 @@ public class ApiKeyAuthenticationHandler : AuthenticationHandler<ApiKeyAuthentic
|
||||
{
|
||||
if (await _tarLog.Contains(metricsKey))
|
||||
{
|
||||
await _metricsStore.Ingest(new Metric()
|
||||
await _metricsStore.Ingest(new Metric
|
||||
{
|
||||
Subject = metricsKey,
|
||||
Action = "tarlog",
|
||||
@ -70,7 +70,7 @@ public class ApiKeyAuthenticationHandler : AuthenticationHandler<ApiKeyAuthentic
|
||||
UserAgent = Request.Headers.UserAgent
|
||||
});
|
||||
await Task.Delay(TimeSpan.FromSeconds(60));
|
||||
return AuthenticateResult.Fail("Error, lipsum timeout of the cross distant cloud.");
|
||||
throw new Exception("Error, lipsum timeout of the cross distant cloud.");
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user