mirror of
https://github.com/dadosfera/maestro.git
synced 2026-11-16 06:29:08 +00:00
FIX: Fix runPipeline fail case return
This commit is contained in:
@@ -223,6 +223,11 @@ export class PipelinesClientService implements OnModuleInit {
|
||||
.triggerPipeline(objectSnakeToCamel({ id, info }))
|
||||
.subscribe({
|
||||
next(x) {
|
||||
if (x.status == false) {
|
||||
reject(
|
||||
'This pipeline is not ready yet to execute, Try again later!',
|
||||
);
|
||||
}
|
||||
resolve(x);
|
||||
},
|
||||
error(err) {
|
||||
|
||||
Reference in New Issue
Block a user