# catalyst\_execute returns catalyst\_status\_ok even if pipeline execution fails

**URL:** https://discourse.paraview.org/t/catalyst-execute-returns-catalyst-status-ok-even-if-pipeline-execution-fails/15289
**Category:** In Situ Support
**Created:** [August 23, 2024, 11:31am UTC](https://discourse.paraview.org/t/catalyst-execute-returns-catalyst-status-ok-even-if-pipeline-execution-fails/15289 "2024-08-23T11:31:46Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![gsabhishek](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/g/90db22/32.png) [@gsabhishek](https://discourse.paraview.org/u/gsabhishek)
#### Post date: [August 23, 2024, 11:31am UTC](https://discourse.paraview.org/t/catalyst-execute-returns-catalyst-status-ok-even-if-pipeline-execution-fails/15289/1 "2024-08-23T11:31:46Z")

</div>

I noticed that the `catalyst_execute` returns a `catalyst_status_ok` even if a pipeline execute fails.  
Is there any plan in future, to return an error code when `ExecutePipelines` fails ?

I was thinking of returning a `false` if the `ExecutePipelines` fails and catch it in `catalyst_execute_paraview`.

---

<div class="post-metadata">

### Author: ![Lucas\_Givord](https://discourse.paraview.org/user_avatar/discourse.paraview.org/lucas_givord/32/6851_2.png) [@Lucas\_Givord](https://discourse.paraview.org/u/Lucas_Givord)
#### Post date: [August 26, 2024, 6:59am UTC](https://discourse.paraview.org/t/catalyst-execute-returns-catalyst-status-ok-even-if-pipeline-execution-fails/15289/2 "2024-08-26T06:59:00Z")

</div>

it makes sense for me too to return an error if the pipeline failed, AFAIK there is no plan to improve that so feel free to change that if you can 🙂

FYI @nicolas.vuaille @caitlin.ross @Andy_Bauer

---

<div class="post-metadata">

### Author: ![nicolas.vuaille](https://discourse.paraview.org/user_avatar/discourse.paraview.org/nicolas.vuaille/32/5873_2.png) [@nicolas.vuaille](https://discourse.paraview.org/u/nicolas.vuaille)
#### Post date: [August 26, 2024, 7:45am UTC](https://discourse.paraview.org/t/catalyst-execute-returns-catalyst-status-ok-even-if-pipeline-execution-fails/15289/3 "2024-08-26T07:45:34Z")

</div>

I agree that it make sense to handle `vtkInSituInitializationHelper::ExecutePipelines(params)` return value in `catalyst_execute()`.
