[PR #307] [CLOSED] fix when error can't show anything #373

Closed
opened 2026-02-15 20:15:18 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/open-webui/pipelines/pull/307
Author: @Hsun1128
Created: 10/23/2024
Status: Closed

Base: mainHead: patch-1


📝 Commits (2)

  • 1fd345f fix when error can't show anything
  • 34cbd48 add print('finished') when runing success

📊 Changes

1 file changed (+2 additions, -2 deletions)

View changed files

📝 examples/pipelines/integrations/python_code_pipeline.py (+2 -2)

📄 Description

When return CalledProcessError can't show anything in open-webui

fix problem

  • when code error can't show anything in open-webui
    return e.output.strip(), e.returncode -> return e.stdeer.strip(), e.returncode

  • add print('finished') when runing success


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/open-webui/pipelines/pull/307 **Author:** [@Hsun1128](https://github.com/Hsun1128) **Created:** 10/23/2024 **Status:** ❌ Closed **Base:** `main` ← **Head:** `patch-1` --- ### 📝 Commits (2) - [`1fd345f`](https://github.com/open-webui/pipelines/commit/1fd345f160c8d796606ba4e33368ff1caa585ddc) fix when error can't show anything - [`34cbd48`](https://github.com/open-webui/pipelines/commit/34cbd48a987104c524b103e5b6335a223bb95594) add print('`finished`') when runing success ### 📊 Changes **1 file changed** (+2 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `examples/pipelines/integrations/python_code_pipeline.py` (+2 -2) </details> ### 📄 Description ### When return CalledProcessError can't show anything in open-webui fix problem - when code error can't show anything in open-webui `return e.output.strip(), e.returncode` -> `return e.stdeer.strip(), e.returncode` - add print('finished') when runing success --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-15 20:15:18 -05:00
yindo closed this issue 2026-02-15 20:15:18 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: open-webui/pipelines#373