When the DB fails to save, log out all the series the user should look into for constraint issues and push a message to the admins connected to webui. (#687)

This commit is contained in:
Joseph Milazzo 2021-10-18 08:45:39 -07:00 committed by GitHub
parent 8b03e1d240
commit 6adf092668
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 40 additions and 2 deletions

View file

@ -96,5 +96,17 @@ namespace API.SignalR
}
};
}
public static SignalRMessage ScanLibraryError(int libraryId)
{
return new SignalRMessage
{
Name = SignalREvents.ScanLibraryError,
Body = new
{
LibraryId = libraryId,
}
};
}
}
}