From f13dfa65002e3bbc4c947e24269bb18b0f42c76a Mon Sep 17 00:00:00 2001 From: marknguyen1302 Date: Tue, 9 Jul 2024 23:47:16 +0700 Subject: [PATCH] fix: throw error when not found file in download model --- cortex-js/src/usecases/models/models.usecases.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/cortex-js/src/usecases/models/models.usecases.ts b/cortex-js/src/usecases/models/models.usecases.ts index 52375b7f9..ab900cc02 100644 --- a/cortex-js/src/usecases/models/models.usecases.ts +++ b/cortex-js/src/usecases/models/models.usecases.ts @@ -356,6 +356,7 @@ export class ModelsUsecases { }, }; this.eventEmitter.emit('model.event', modelEvent); + throw e; } }