Throw a toastr on matched metadata page when there is a rate limit issue.
This commit is contained in:
parent
224e839dad
commit
3a01e9af3a
6 changed files with 55 additions and 11 deletions
|
|
@ -386,6 +386,9 @@ public class ExternalMetadataService : IExternalMetadataService
|
|||
{
|
||||
// We can't rethrow because Fix match is done in a background thread and Hangfire will requeue multiple times
|
||||
_logger.LogInformation(ex, "Rate limit hit for matching {SeriesName} with Kavita+", series.Name);
|
||||
// Fire SignalR event about this
|
||||
await _eventHub.SendMessageAsync(MessageFactory.ExternalMatchRateLimitError,
|
||||
MessageFactory.ExternalMatchRateLimitErrorEvent(series.Id, series.Name));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue