Basic Metadata Polish (#3548)

This commit is contained in:
Joe Milazzo 2025-02-14 15:23:52 -06:00 committed by GitHub
parent c0b59d87a4
commit 4c44dbf3e2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
20 changed files with 3596 additions and 467 deletions

View file

@ -64,7 +64,14 @@ public class LicenseController(
[ResponseCache(CacheProfileName = ResponseCacheProfiles.LicenseCache)]
public async Task<ActionResult<LicenseInfoDto?>> GetLicenseInfo(bool forceCheck = false)
{
return Ok(await licenseService.GetLicenseInfo(forceCheck));
try
{
return Ok(await licenseService.GetLicenseInfo(forceCheck));
}
catch (Exception)
{
return Ok(null);
}
}
[Authorize("RequireAdminRole")]