Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion apps/web/src/hooks/use-session-socket.ts
Original file line number Diff line number Diff line change
Expand Up @@ -441,7 +441,7 @@ export function useSessionSocket(sessionId: string): UseSessionSocketReturn {

case "error":
console.error("Session error:", data)
// Reset loading state if a fetch_history request was rejected
// Any session error ends history pagination loading, including a rejected fetch_history.
setLoadingHistory(false)
break
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ export const logControlPlaneError = Effect.fn("controlPlane.logError")(function*

export { describeError }

/** Logs an unhandled control-plane error and renders the legacy 500 response. */
/** Logs an unhandled error and returns a 500 with the S0Api error body plus the legacy `error` field. */
const respondUnhandledError = Effect.fn("controlPlane.respondUnhandledError")(function* (
cause: unknown,
) {
Expand Down
Loading