pipecat-ai / pipecat

Open Source framework for voice and multimodal conversational AI
BSD 2-Clause "Simplified" License
3.47k stars 341 forks source link

FrameProcessor __internal_push_frame should raise exception it catches #684

Closed y22ma closed 1 week ago

y22ma commented 4 weeks ago

Description

Feature request: raise issue after catching it within __internal_push_frame in FrameProcessor.py

Environment

Issue description

This line in FrameProcessor.py simply logs the exception but does not raise it to the stacks above.

This leads to the inability of trying to catch broken pipelines at higher levels of the abstraction, such as PipelineRunner.run(task)

Repro steps

List the steps to reproduce the issue.

Expected behavior

Actual behavior

Logs