You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
In flowmachine.core.query.write_query_to_cache(), the call to write_cache_metadata() happens outside the try/except block, so if write_cache_metadata() raises an exception this will not be caught. As a result, neither q_state_machine.finish() nor q_state_machine.raise_error() is called, and the query state is incorrectly left as "executing".
Describe the bug
In
flowmachine.core.query.write_query_to_cache()
, the call towrite_cache_metadata()
happens outside the try/except block, so ifwrite_cache_metadata()
raises an exception this will not be caught. As a result, neitherq_state_machine.finish()
norq_state_machine.raise_error()
is called, and the query state is incorrectly left as"executing"
.To Reproduce
write_cache_metadata()
.Expected behavior
The query state should be changed to
"errored"
if an error occurs at any point while writing the query to cache.The text was updated successfully, but these errors were encountered: