If a query fail in cacheResponse and the keepCache param was not used, re-throw the exception instead of catching and returning undefined. This prevents a second error from happening further in the flow because of the undefined value.
Increased the caching time for provider-attributes.json from 30s to 5min. Also enabled the keepCache param for both queries in githubService.ts so that the old cached version is returned if the query fails.
Use the new logger in the caching helper
Added parameter validation in the address deployments endpoint
cacheResponse
and thekeepCache
param was not used, re-throw the exception instead of catching and returning undefined. This prevents a second error from happening further in the flow because of the undefined value.provider-attributes.json
from 30s to 5min. Also enabled thekeepCache
param for both queries ingithubService.ts
so that the old cached version is returned if the query fails.