Skip to content

Commit ae264b5

Browse files
committed
Makes warning message more helpful for user
1 parent c3136a7 commit ae264b5

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

plugboard/component/component.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,10 @@ async def _wrapper() -> None:
241241
async def _build_producer_graph(self) -> None:
242242
"""Builds the producer graph for the component."""
243243
if not (self._state and self._state_is_connected):
244-
self._logger.warning("State backend not connected. Cannot build producer graph.")
244+
self._logger.warning(
245+
"State backend not connected. Cannot build producer graph. "
246+
"Purely event driven models may hang indefinitely."
247+
)
245248
return
246249
process = await self._state.get_process_for_component(self.id)
247250
input_event_set = {evt.safe_type() for evt in self.io.input_events}

0 commit comments

Comments
 (0)