Skip to content

Commit

Permalink
chore: error handling - start stop model with error message
Browse files Browse the repository at this point in the history
  • Loading branch information
louis-jan committed Jun 26, 2024
1 parent 4d60260 commit 9032965
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cortex-js/src/usecases/models/models.usecases.ts
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ export class ModelsUsecases {
TelemetrySource.CORTEX_CPP,
);
return {
message: 'Failed to load model',
message: e.message,
modelId,
};
});
Expand Down Expand Up @@ -298,7 +298,7 @@ export class ModelsUsecases {
TelemetrySource.CORTEX_CPP,
);
return {
message: 'Failed to stop model',
message: e.message,
modelId,
};
});
Expand Down

0 comments on commit 9032965

Please sign in to comment.