fix: surface reviewer response failures
This commit is contained in:
@@ -167,7 +167,12 @@ export const useSessionStore = create<SessionState>((set) => ({
|
||||
];
|
||||
// An error during the active phase marks that phase red until the next gate.
|
||||
return e.level === "error"
|
||||
? { stepMessages, activityLog, phaseError: st.currentPhase }
|
||||
? {
|
||||
stepMessages,
|
||||
activityLog,
|
||||
phaseError: st.currentPhase,
|
||||
toasts: [...st.toasts, { level: "error", text: e.text }],
|
||||
}
|
||||
: { stepMessages, activityLog };
|
||||
}
|
||||
if (e.type === "system_event") {
|
||||
|
||||
Reference in New Issue
Block a user