src/platform/user/profile/vap-svc/util/analytics.js
Function captureError
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
const captureError = (error, details) => {
if (environment.isLocalhost()) {
// eslint-disable-next-line no-console
console.error({ error, details });
}