diff --git a/src/util/models-universe.ts b/src/util/models-universe.ts index 0e84955c3..c6944f181 100644 --- a/src/util/models-universe.ts +++ b/src/util/models-universe.ts @@ -70,8 +70,8 @@ export class ModelsUniverse { return EMemModel; case 'aveva': return EAvevaModel; - default: // cover default - return BoaviztaCpuImpactModel; + default: + throw new Error(`Missing or wrong model: ${name}.`); } }