diff --git a/cortex-js/src/usecases/models/models.usecases.ts b/cortex-js/src/usecases/models/models.usecases.ts index 30afc5815..4a1c66e95 100644 --- a/cortex-js/src/usecases/models/models.usecases.ts +++ b/cortex-js/src/usecases/models/models.usecases.ts @@ -235,7 +235,7 @@ export class ModelsUsecases { TelemetrySource.CORTEX_CPP, ); return { - message: 'Failed to load model', + message: e.message, modelId, }; }); @@ -298,7 +298,7 @@ export class ModelsUsecases { TelemetrySource.CORTEX_CPP, ); return { - message: 'Failed to stop model', + message: e.message, modelId, }; });